Fix autoplay next default value
This commit is contained in:
parent
78d0ff9793
commit
a27e774e75
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,6 @@ const defaultState = {
|
||||||
// Content
|
// Content
|
||||||
[SETTINGS.SHOW_MATURE]: false,
|
[SETTINGS.SHOW_MATURE]: false,
|
||||||
[SETTINGS.AUTOPLAY_MEDIA]: true,
|
[SETTINGS.AUTOPLAY_MEDIA]: true,
|
||||||
[SETTINGS.AUTOPLAY_NEXT]: [SETTINGS.AUTOPLAY_MEDIA],
|
|
||||||
[SETTINGS.FLOATING_PLAYER]: true,
|
[SETTINGS.FLOATING_PLAYER]: true,
|
||||||
[SETTINGS.AUTO_DOWNLOAD]: true,
|
[SETTINGS.AUTO_DOWNLOAD]: true,
|
||||||
[SETTINGS.HIDE_REPOSTS]: SIMPLE_SITE,
|
[SETTINGS.HIDE_REPOSTS]: SIMPLE_SITE,
|
||||||
|
@ -80,6 +79,7 @@ const defaultState = {
|
||||||
[SETTINGS.TO_TRAY_WHEN_CLOSED]: true,
|
[SETTINGS.TO_TRAY_WHEN_CLOSED]: true,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
defaultState.clientSettings[SETTINGS.AUTOPLAY_NEXT] = defaultState.clientSettings[SETTINGS.AUTOPLAY_MEDIA];
|
||||||
|
|
||||||
reducers[ACTIONS.REHYDRATE] = (state, action) => {
|
reducers[ACTIONS.REHYDRATE] = (state, action) => {
|
||||||
const { clientSettings } = state;
|
const { clientSettings } = state;
|
||||||
|
|
Loading…
Add table
Reference in a new issue