fix for settings not being persisted in store #59
1 changed files with 1 additions and 4 deletions
|
@ -2,10 +2,7 @@ import { ACTIONS } from 'lbry-redux';
|
||||||
|
|
||||||
const reducers = {};
|
const reducers = {};
|
||||||
const defaultState = {
|
const defaultState = {
|
||||||
clientSettings: {
|
clientSettings: {}
|
||||||
keepDaemonRunning: true,
|
|
||||||
showNsfw: false
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
reducers[ACTIONS.CLIENT_SETTING_CHANGED] = (state, action) => {
|
reducers[ACTIONS.CLIENT_SETTING_CHANGED] = (state, action) => {
|
||||||
|
|
Loading…
Reference in a new issue