Merge pull request #1899 from lbryio/fix-email-refresh
fix: show email after refreshing the app
This commit is contained in:
commit
ea35f2fc70
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ import {
|
||||||
selectRemoteVersion,
|
selectRemoteVersion,
|
||||||
selectUpgradeTimer,
|
selectUpgradeTimer,
|
||||||
} from 'redux/selectors/app';
|
} from 'redux/selectors/app';
|
||||||
|
import { doAuthenticate } from 'redux/actions/user';
|
||||||
import { lbrySettings as config } from 'package.json';
|
import { lbrySettings as config } from 'package.json';
|
||||||
|
|
||||||
const { autoUpdater } = remote.require('electron-updater');
|
const { autoUpdater } = remote.require('electron-updater');
|
||||||
|
@ -336,6 +337,7 @@ export function doDaemonReady() {
|
||||||
return (dispatch, getState) => {
|
return (dispatch, getState) => {
|
||||||
const state = getState();
|
const state = getState();
|
||||||
|
|
||||||
|
dispatch(doAuthenticate());
|
||||||
dispatch({ type: ACTIONS.DAEMON_READY });
|
dispatch({ type: ACTIONS.DAEMON_READY });
|
||||||
dispatch(doFetchDaemonSettings());
|
dispatch(doFetchDaemonSettings());
|
||||||
dispatch(doBalanceSubscribe());
|
dispatch(doBalanceSubscribe());
|
||||||
|
|
Loading…
Reference in a new issue