Add SETTINGS.ENABLE_PUBLISH_PREVIEW
This option allows users to bypass the "publish preview" modal.
This commit is contained in:
parent
12ba291c3b
commit
aca15fe3e9
2 changed files with 3 additions and 0 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -655,6 +655,7 @@ const HIDE_SPLASH_ANIMATION = 'hide_splash_animation';
|
||||||
const FLOATING_PLAYER = 'floating_player';
|
const FLOATING_PLAYER = 'floating_player';
|
||||||
const DARK_MODE_TIMES = 'dark_mode_times';
|
const DARK_MODE_TIMES = 'dark_mode_times';
|
||||||
const ENABLE_SYNC = 'enable_sync';
|
const ENABLE_SYNC = 'enable_sync';
|
||||||
|
const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
|
||||||
|
|
||||||
// mobile settings
|
// mobile settings
|
||||||
const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
|
const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
|
||||||
|
@ -697,6 +698,7 @@ var settings = /*#__PURE__*/Object.freeze({
|
||||||
FLOATING_PLAYER: FLOATING_PLAYER,
|
FLOATING_PLAYER: FLOATING_PLAYER,
|
||||||
DARK_MODE_TIMES: DARK_MODE_TIMES,
|
DARK_MODE_TIMES: DARK_MODE_TIMES,
|
||||||
ENABLE_SYNC: ENABLE_SYNC,
|
ENABLE_SYNC: ENABLE_SYNC,
|
||||||
|
ENABLE_PUBLISH_PREVIEW: ENABLE_PUBLISH_PREVIEW,
|
||||||
BACKGROUND_PLAY_ENABLED: BACKGROUND_PLAY_ENABLED,
|
BACKGROUND_PLAY_ENABLED: BACKGROUND_PLAY_ENABLED,
|
||||||
FOREGROUND_NOTIFICATION_ENABLED: FOREGROUND_NOTIFICATION_ENABLED,
|
FOREGROUND_NOTIFICATION_ENABLED: FOREGROUND_NOTIFICATION_ENABLED,
|
||||||
KEEP_DAEMON_RUNNING: KEEP_DAEMON_RUNNING,
|
KEEP_DAEMON_RUNNING: KEEP_DAEMON_RUNNING,
|
||||||
|
|
|
@ -32,6 +32,7 @@ export const HIDE_SPLASH_ANIMATION = 'hide_splash_animation';
|
||||||
export const FLOATING_PLAYER = 'floating_player';
|
export const FLOATING_PLAYER = 'floating_player';
|
||||||
export const DARK_MODE_TIMES = 'dark_mode_times';
|
export const DARK_MODE_TIMES = 'dark_mode_times';
|
||||||
export const ENABLE_SYNC = 'enable_sync';
|
export const ENABLE_SYNC = 'enable_sync';
|
||||||
|
export const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
|
||||||
|
|
||||||
// mobile settings
|
// mobile settings
|
||||||
export const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
|
export const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
|
||||||
|
|
Loading…
Reference in a new issue