This commit is contained in:
feruz 2020-07-26 20:35:40 +03:00
parent 8e0c4c7f28
commit 290c79d53d

View File

@ -102,7 +102,7 @@ class ApplicationContainer extends Component {
isIos: Platform.OS !== 'android', isIos: Platform.OS !== 'android',
isThemeReady: false, isThemeReady: false,
appState: AppState.currentState, appState: AppState.currentState,
showWelcomeModal: true, showWelcomeModal: false,
}; };
} }
@ -136,12 +136,11 @@ class ApplicationContainer extends Component {
if (version < parseFloat(appVersion)) { if (version < parseFloat(appVersion)) {
getUserData().then((accounts) => { getUserData().then((accounts) => {
this.setState({ showWelcomeModal: true }); this.setState({ showWelcomeModal: true });
accounts && accounts.forEach((account) => {
accounts.forEach((account) => { if (get(account, 'authType', '') === AUTH_TYPE.STEEM_CONNECT) {
if (get(account, 'authType', '') === AUTH_TYPE.STEEM_CONNECT) { scAccounts.push(account);
scAccounts.push(account); }
} });
});
}); });
} }
}); });