lbry-redux/src/constants/settings.js

52 lines
2.7 KiB
JavaScript
Raw Normal View History

2018-01-11 12:54:20 +01:00
/* 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 */
2020-02-16 14:52:58 -05:00
export const SHOW_NSFW = 'showNsfw';
2018-01-11 12:54:20 +01:00
export const CREDIT_REQUIRED_ACKNOWLEDGED = 'credit_required_acknowledged';
export const NEW_USER_ACKNOWLEDGED = 'welcome_acknowledged';
export const EMAIL_COLLECTION_ACKNOWLEDGED = 'email_collection_acknowledged';
2020-08-27 12:29:29 -04:00
export const FIRST_RUN_STARTED = 'first_run_started';
2020-02-16 14:52:58 -05:00
export const INVITE_ACKNOWLEDGED = 'invite_acknowledged';
2020-08-23 22:38:45 -04:00
export const FOLLOWING_ACKNOWLEDGED = 'following_acknowledged';
export const TAGS_ACKNOWLEDGED = 'tags_acknowledged';
2020-08-23 22:43:00 -04:00
export const REWARDS_ACKNOWLEDGED = 'rewards_acknowledged';
2018-01-11 12:54:20 +01:00
export const LANGUAGE = 'language';
2020-10-15 14:34:25 -04:00
export const SEARCH_IN_LANGUAGE = 'search_in_language';
2020-02-16 14:52:58 -05:00
export const SHOW_MATURE = 'show_mature';
2020-10-23 14:36:16 -04:00
export const HOMEPAGE = 'homepage';
export const HIDE_REPOSTS = 'hide_reposts';
2020-02-16 14:52:58 -05:00
export const SHOW_ANONYMOUS = 'show_anonymous';
export const SHOW_UNAVAILABLE = 'show_unavailable';
export const INSTANT_PURCHASE_ENABLED = 'instant_purchase_enabled';
export const INSTANT_PURCHASE_MAX = 'instant_purchase_max';
2018-01-11 12:54:20 +01:00
export const THEME = 'theme';
export const THEMES = 'themes';
2020-02-16 14:52:58 -05:00
export const AUTOMATIC_DARK_MODE_ENABLED = 'automatic_dark_mode_enabled';
export const AUTOPLAY = 'autoplay';
export const AUTOPLAY_NEXT = 'autoplay_next';
2020-02-16 14:52:58 -05:00
export const OS_NOTIFICATIONS_ENABLED = 'os_notifications_enabled';
export const AUTO_DOWNLOAD = 'auto_download';
export const AUTO_LAUNCH = 'auto_launch';
2020-08-13 13:59:44 -03:00
export const TO_TRAY_WHEN_CLOSED = 'to_tray_when_closed';
2020-02-16 14:52:58 -05:00
export const SUPPORT_OPTION = 'support_option';
export const HIDE_BALANCE = 'hide_balance';
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';
2020-09-08 14:41:50 -04:00
export const TILE_LAYOUT = 'tile_layout';
export const VIDEO_THEATER_MODE = 'video_theater_mode';
export const VIDEO_PLAYBACK_RATE = 'video_playback_rate';
2018-04-05 03:57:29 +01:00
// mobile settings
export const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
export const FOREGROUND_NOTIFICATION_ENABLED = 'foregroundNotificationEnabled';
2018-04-05 03:57:29 +01:00
export const KEEP_DAEMON_RUNNING = 'keepDaemonRunning';
export const SHOW_URI_BAR_SUGGESTIONS = 'showUriBarSuggestions';
export const RECEIVE_SUBSCRIPTION_NOTIFICATIONS = 'receiveSubscriptionNotifications';
export const RECEIVE_REWARD_NOTIFICATIONS = 'receiveRewardNotifications';
export const RECEIVE_INTERESTS_NOTIFICATIONS = 'receiveInterestsNotifications';
export const RECEIVE_CREATOR_NOTIFICATIONS = 'receiveCreatorNotifications';