[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 {
|
} else {
|
||||||
yield delay(300);
|
yield delay(300);
|
||||||
if (adding) {
|
if (adding) {
|
||||||
|
yield put(serverFinishAdd());
|
||||||
yield Navigation.dismissAllModals();
|
yield Navigation.dismissAllModals();
|
||||||
} else {
|
} else {
|
||||||
yield put(appStart('inside'));
|
yield put(appStart('inside'));
|
||||||
}
|
}
|
||||||
yield put(serverFinishAdd());
|
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log('handleLoginSuccess', e);
|
log('handleLoginSuccess', e);
|
||||||
|
|
Loading…
Reference in New Issue