mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-30 00:52:42 +03:00
added alert
This commit is contained in:
parent
25b9c6b991
commit
2e4aad4ade
@ -234,7 +234,7 @@ class ApplicationContainer extends Component {
|
||||
this._connectNotificationServer(accountData.name);
|
||||
})
|
||||
.catch((err) => {
|
||||
// Alert.alert(err);
|
||||
Alert.alert(`Fetching data from server failed, please try again or notify us at info@esteem.app \n${err.substr(0, 20)}`);
|
||||
});
|
||||
}
|
||||
|
||||
@ -306,7 +306,9 @@ class ApplicationContainer extends Component {
|
||||
dispatch(removeOtherAccount(currentAccount.name));
|
||||
dispatch(logoutDone());
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch((err) => {
|
||||
Alert.alert(`Fetching data from server failed, please try again or notify us at info@esteem.app \n${err.substr(0, 20)}`);
|
||||
});
|
||||
};
|
||||
|
||||
_switchAccount = async (targetAccountUsername) => {
|
||||
|
Loading…
Reference in New Issue
Block a user