Merge pull request #59 from lbryio/persist-settings
fix for settings not being persisted in store
This commit is contained in:
commit
0f454b562d
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