fix: show email after refreshing the app

This commit is contained in:
Sean Yesmunt 2018-08-22 12:40:44 -04:00 committed by Thomas Zarebczan
parent 3694104b0d
commit 0ec7a30ccd

View file

@ -28,6 +28,7 @@ import {
selectRemoteVersion,
selectUpgradeTimer,
} from 'redux/selectors/app';
import { doAuthenticate } from 'redux/actions/user';
import { lbrySettings as config } from 'package.json';
const { autoUpdater } = remote.require('electron-updater');
@ -336,6 +337,7 @@ export function doDaemonReady() {
return (dispatch, getState) => {
const state = getState();
dispatch(doAuthenticate());
dispatch({ type: ACTIONS.DAEMON_READY });
dispatch(doFetchDaemonSettings());
dispatch(doBalanceSubscribe());