mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-28 01:52:56 +03:00
emep
This commit is contained in:
parent
8e0c4c7f28
commit
290c79d53d
@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user