This commit is contained in:
zeppi 2021-07-15 14:07:06 -04:00 committed by jessopb
parent e6addb8c2a
commit 0e589c0401
3 changed files with 8 additions and 5 deletions

View file

@ -149,7 +149,7 @@
"imagesloaded": "^4.1.4",
"json-loader": "^0.5.4",
"lbry-format": "https://github.com/lbryio/lbry-format.git",
"lbry-redux": "lbryio/lbry-redux#8f66a2fe7c84d4587ec95698bce9f3e4360f8e88",
"lbry-redux": "lbryio/lbry-redux#7d25ceb939a7ea2b83cabbbfe62a946c9992e381",
"lbryinc": "lbryio/lbryinc#8f9a58bfc8312a65614fd7327661cdcc502c4e59",
"lint-staged": "^7.0.2",
"localforage": "^1.7.1",

View file

@ -626,7 +626,6 @@ export function doGetAndPopulatePreferences() {
function successCb(savedPreferences) {
const successState = getState();
const daemonSettings = selectDaemonSettings(successState);
if (savedPreferences !== null) {
dispatch(doPopulateSharedUserState(savedPreferences));
// @if TARGET='app'
@ -653,7 +652,8 @@ export function doGetAndPopulatePreferences() {
return true;
}
function failCb() {
function failCb(er) {
debugger;
dispatch(
doToast({
isError: true,
@ -663,6 +663,7 @@ export function doGetAndPopulatePreferences() {
dispatch({
type: ACTIONS.SYNC_FATAL_ERROR,
error: er,
});
return false;
@ -681,6 +682,8 @@ export function doHandleSyncComplete(error, hasNewData) {
// we just got sync data, better update our channels
dispatch(doFetchChannelListMine());
}
} else {
console.log('DHSC error', error);
}
};
}

View file

@ -7283,9 +7283,9 @@ lazy-val@^1.0.4:
yargs "^13.2.2"
zstd-codec "^0.1.1"
lbry-redux@lbryio/lbry-redux#8f66a2fe7c84d4587ec95698bce9f3e4360f8e88:
lbry-redux@lbryio/lbry-redux#7d25ceb939a7ea2b83cabbbfe62a946c9992e381:
version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/8f66a2fe7c84d4587ec95698bce9f3e4360f8e88"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/7d25ceb939a7ea2b83cabbbfe62a946c9992e381"
dependencies:
proxy-polyfill "0.1.6"
reselect "^3.0.0"