parent
77f6bf6fac
commit
4c97cb4ba4
2 changed files with 2 additions and 2 deletions
|
@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Zoomable image viewer in Markdown (posts and comments) _community pr!_ ([#5387](https://github.com/lbryio/lbry-desktop/pull/5387))
|
- Zoomable image viewer in Markdown (posts and comments) _community pr!_ ([#5387](https://github.com/lbryio/lbry-desktop/pull/5387))
|
||||||
|
- Enable PDF Viewer in App _community pr!_ ([#2903](https://github.com/lbryio/lbry-desktop/issues/2903))
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,7 @@ export const DOWNLOAD = 'download';
|
||||||
export const APPLICATION = 'application';
|
export const APPLICATION = 'application';
|
||||||
export const UNSUPPORTED = 'unsupported';
|
export const UNSUPPORTED = 'unsupported';
|
||||||
|
|
||||||
// PDFs disabled on desktop until we update Electron: https://github.com/electron/electron/issues/12337
|
export const UNSUPPORTED_IN_THIS_APP = IS_WEB ? [CAD, COMIC, APPLICATION] : [APPLICATION];
|
||||||
export const UNSUPPORTED_IN_THIS_APP = IS_WEB ? [CAD, COMIC, APPLICATION] : [APPLICATION, PDF];
|
|
||||||
|
|
||||||
export const UNRENDERABLE_MODES = Array.from(
|
export const UNRENDERABLE_MODES = Array.from(
|
||||||
new Set(UNSUPPORTED_IN_THIS_APP.concat([DOWNLOAD, APPLICATION, UNSUPPORTED]))
|
new Set(UNSUPPORTED_IN_THIS_APP.concat([DOWNLOAD, APPLICATION, UNSUPPORTED]))
|
||||||
|
|
Loading…
Reference in a new issue