Merge pull request #1899 from lbryio/fix-email-refresh

fix: show email after refreshing the app
This commit is contained in:
Sean Yesmunt 2018-08-24 10:56:46 -04:00 committed by GitHub
commit ea35f2fc70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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