parent
2e407c1146
commit
22da6fee69
2 changed files with 3 additions and 1 deletions
|
@ -275,7 +275,9 @@ function AppWrapper() {
|
|||
|
||||
useEffect(() => {
|
||||
if (readyToLaunch && persistDone) {
|
||||
// @if TARGET='app'
|
||||
sessionStorage.setItem('startup', true);
|
||||
// @endif
|
||||
app.store.dispatch(doUpdateIsNightAsync());
|
||||
app.store.dispatch(doDaemonReady());
|
||||
app.store.dispatch(doBlackListedOutpointsSubscribe());
|
||||
|
|
|
@ -329,7 +329,7 @@ export function doDaemonReady() {
|
|||
const state = getState();
|
||||
|
||||
// TODO: call doFetchDaemonSettings, then get usage data, and call doAuthenticate once they are loaded into the store
|
||||
const shareUsageData = window.localStorage.getItem(SHARE_INTERNAL) === 'true' || IS_WEB;
|
||||
const shareUsageData = IS_WEB || window.localStorage.getItem(SHARE_INTERNAL) === 'true';
|
||||
|
||||
dispatch(
|
||||
doAuthenticate(appVersion, undefined, undefined, shareUsageData, status => {
|
||||
|
|
Loading…
Reference in a new issue