[FIX] App connects to previous server instead of the recent added (#518)
This commit is contained in:
parent
e7277be004
commit
1c9aa9bf33
|
@ -48,11 +48,11 @@ const handleLoginSuccess = function* handleLoginSuccess() {
|
|||
} else {
|
||||
yield delay(300);
|
||||
if (adding) {
|
||||
yield put(serverFinishAdd());
|
||||
yield Navigation.dismissAllModals();
|
||||
} else {
|
||||
yield put(appStart('inside'));
|
||||
}
|
||||
yield put(serverFinishAdd());
|
||||
}
|
||||
} catch (e) {
|
||||
log('handleLoginSuccess', e);
|
||||
|
|
Loading…
Reference in New Issue