fix(settings): Clear support state when clearing cache
This commit is contained in:
parent
b74b69dc57
commit
fbf184a238
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ import {
|
|||
doClearPublish,
|
||||
doPreferenceGet,
|
||||
doToast,
|
||||
doClearSupport,
|
||||
} from 'lbry-redux';
|
||||
import Native from 'native';
|
||||
import { doFetchDaemonSettings } from 'redux/actions/settings';
|
||||
|
@ -339,6 +340,7 @@ export function doClearCache() {
|
|||
// const reducersToClear = whiteListedReducers.filter(reducerKey => reducerKey !== 'tags');
|
||||
// window.cacheStore.purge(reducersToClear);
|
||||
window.localStorage.clear();
|
||||
dispatch(doClearSupport());
|
||||
return dispatch(doClearPublish());
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue