diff --git a/src/ui/redux/actions/app.js b/src/ui/redux/actions/app.js index 6b6b87c70..43d0e904e 100644 --- a/src/ui/redux/actions/app.js +++ b/src/ui/redux/actions/app.js @@ -18,6 +18,7 @@ import { doPopulateSharedUserState, doFetchChannelListMine, selectBalance, + doClearPublish, } from 'lbry-redux'; import Native from 'native'; import { doFetchDaemonSettings } from 'redux/actions/settings'; @@ -347,13 +348,13 @@ export function doDaemonReady() { } export function doClearCache() { - return () => { + return dispatch => { // Need to update this to work with new version of redux-persist // Leaving for now // const reducersToClear = whiteListedReducers.filter(reducerKey => reducerKey !== 'tags'); // window.cacheStore.purge(reducersToClear); window.localStorage.clear(); - return window.persistor.purge(); + return dispatch(doClearPublish()); }; } diff --git a/static/app-strings.json b/static/app-strings.json index 43cd408c9..c224c6987 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -790,5 +790,6 @@ "You can have more than one or change this later.": "You can have more than one or change this later.", "Your Channel": "Your Channel", "channel": "channel", - "Create": "Create" + "Create": "Create", + "You have no rewards available.": "You have no rewards available." } \ No newline at end of file