mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 21:01:31 +03:00
added alert
This commit is contained in:
parent
c679d79477
commit
b6d26bb979
@ -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