show comic-book files on the desktop app
This commit is contained in:
parent
3d3223eab8
commit
8f68fa59fa
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ export const IMAGE = 'image';
|
|||
export const CAD = 'cad';
|
||||
export const COMIC = 'comic';
|
||||
|
||||
export const AUTO_RENDER_MODES = [IMAGE].concat(TEXT_MODES); // these types will render (and thus download) automatically (if free)
|
||||
export const AUTO_RENDER_MODES = [IMAGE, COMIC].concat(TEXT_MODES); // these types will render (and thus download) automatically (if free)
|
||||
export const WEB_SHAREABLE_MODES = AUTO_RENDER_MODES.concat(FLOATING_MODES);
|
||||
|
||||
export const DOWNLOAD = 'download';
|
||||
|
@ -25,7 +25,7 @@ export const UNSUPPORTED = 'unsupported';
|
|||
|
||||
// PDFs disabled on desktop until we update Electron: https://github.com/electron/electron/issues/12337
|
||||
// Comics disabled because nothing is actually reporting as a comic type
|
||||
export const UNSUPPORTED_IN_THIS_APP = IS_WEB ? [CAD, COMIC, APPLICATION] : [CAD, COMIC, APPLICATION, PDF];
|
||||
export const UNSUPPORTED_IN_THIS_APP = IS_WEB ? [CAD, COMIC, APPLICATION] : [CAD, APPLICATION, PDF];
|
||||
|
||||
export const UNRENDERABLE_MODES = Array.from(
|
||||
new Set(UNSUPPORTED_IN_THIS_APP.concat([DOWNLOAD, APPLICATION, UNSUPPORTED]))
|
||||
|
|
Loading…
Reference in a new issue