fa21fe153c
* BACKGROUND_PLAY_ENABLED and FOREGROUND_NOTIFICATION_ENABLED mobile settings constants added
19 lines
1.1 KiB
JavaScript
19 lines
1.1 KiB
JavaScript
/* hardcoded names still exist for these in reducers/settings.js - only discovered when debugging */
|
|
/* Many SETTINGS are stored in the localStorage by their name -
|
|
be careful about changing the value of a SETTINGS constant, as doing so can invalidate existing SETTINGS */
|
|
export const CREDIT_REQUIRED_ACKNOWLEDGED = 'credit_required_acknowledged';
|
|
export const NEW_USER_ACKNOWLEDGED = 'welcome_acknowledged';
|
|
export const EMAIL_COLLECTION_ACKNOWLEDGED = 'email_collection_acknowledged';
|
|
export const LANGUAGE = 'language';
|
|
export const SHOW_NSFW = 'showNsfw';
|
|
export const SHOW_UNAVAILABLE = 'showUnavailable';
|
|
export const INSTANT_PURCHASE_ENABLED = 'instantPurchaseEnabled';
|
|
export const INSTANT_PURCHASE_MAX = 'instantPurchaseMax';
|
|
export const THEME = 'theme';
|
|
export const THEMES = 'themes';
|
|
export const AUTOMATIC_DARK_MODE_ENABLED = 'automaticDarkModeEnabled';
|
|
|
|
// mobile settings
|
|
export const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
|
|
export const FOREGROUND_NOTIFICATION_ENABLED = 'foregroundNotificationEnabled';
|
|
export const KEEP_DAEMON_RUNNING = 'keepDaemonRunning';
|