Make 'playback rate' persistent

This is the accompanying commit for https://github.com/lbryio/lbry-desktop/pull/5310
This commit is contained in:
infiinte-persistence 2021-01-14 21:11:44 +08:00 committed by Sean Yesmunt
parent 746acef66a
commit 7bd6ae1824
2 changed files with 3 additions and 0 deletions

2
dist/bundle.es.js vendored
View file

@ -667,6 +667,7 @@ const ENABLE_SYNC = 'enable_sync';
const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
const TILE_LAYOUT = 'tile_layout';
const VIDEO_THEATER_MODE = 'video_theater_mode';
const VIDEO_PLAYBACK_RATE = 'video_playback_rate';
// mobile settings
const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';
@ -715,6 +716,7 @@ var settings = /*#__PURE__*/Object.freeze({
ENABLE_PUBLISH_PREVIEW: ENABLE_PUBLISH_PREVIEW,
TILE_LAYOUT: TILE_LAYOUT,
VIDEO_THEATER_MODE: VIDEO_THEATER_MODE,
VIDEO_PLAYBACK_RATE: VIDEO_PLAYBACK_RATE,
BACKGROUND_PLAY_ENABLED: BACKGROUND_PLAY_ENABLED,
FOREGROUND_NOTIFICATION_ENABLED: FOREGROUND_NOTIFICATION_ENABLED,
KEEP_DAEMON_RUNNING: KEEP_DAEMON_RUNNING,

View file

@ -38,6 +38,7 @@ export const ENABLE_SYNC = 'enable_sync';
export const ENABLE_PUBLISH_PREVIEW = 'enable-publish-preview';
export const TILE_LAYOUT = 'tile_layout';
export const VIDEO_THEATER_MODE = 'video_theater_mode';
export const VIDEO_PLAYBACK_RATE = 'video_playback_rate';
// mobile settings
export const BACKGROUND_PLAY_ENABLED = 'backgroundPlayEnabled';