Add SETTINGS.ENABLE_PUBLISH_PREVIEW

This option allows users to bypass the "publish preview" modal.
This commit is contained in:
infiinte-persistence 2020-08-11 17:10:38 +08:00 committed by Sean Yesmunt
parent 12ba291c3b
commit aca15fe3e9
2 changed files with 3 additions and 0 deletions

2
dist/bundle.es.js vendored
View file

@ -655,6 +655,7 @@ const HIDE_SPLASH_ANIMATION = 'hide_splash_animation';
const FLOATING_PLAYER = 'floating_player';
const DARK_MODE_TIMES = 'dark_mode_times';
const ENABLE_SYNC = 'enable_sync';
const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
// mobile settings
const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
@ -697,6 +698,7 @@ var settings = /*#__PURE__*/Object.freeze({
FLOATING_PLAYER: FLOATING_PLAYER,
DARK_MODE_TIMES: DARK_MODE_TIMES,
ENABLE_SYNC: ENABLE_SYNC,
ENABLE_PUBLISH_PREVIEW: ENABLE_PUBLISH_PREVIEW,
BACKGROUND_PLAY_ENABLED: BACKGROUND_PLAY_ENABLED,
FOREGROUND_NOTIFICATION_ENABLED: FOREGROUND_NOTIFICATION_ENABLED,
KEEP_DAEMON_RUNNING: KEEP_DAEMON_RUNNING,

View file

@ -32,6 +32,7 @@ export const HIDE_SPLASH_ANIMATION = 'hide_splash_animation';
export const FLOATING_PLAYER = 'floating_player';
export const DARK_MODE_TIMES = 'dark_mode_times';
export const ENABLE_SYNC = 'enable_sync';
export const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
// mobile settings
export const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';