fix: show email after refreshing the app

This commit is contained in:
Sean Yesmunt 2018-08-22 12:40:44 -04:00
parent 06f5093c13
commit 0b84c00acd

View file

@ -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());