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