diff options
-rw-r--r-- | src/screens/Login/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screens/Login/index.tsx b/src/screens/Login/index.tsx index f7a0e29e9..0328f8783 100644 --- a/src/screens/Login/index.tsx +++ b/src/screens/Login/index.tsx @@ -106,7 +106,9 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => { initialHandle={initialHandle} setError={setError} setServiceUrl={setServiceUrl} - onPressBack={onPressBack} + onPressBack={() => + accounts.length ? gotoForm(Forms.ChooseAccount) : onPressBack() + } onPressForgotPassword={onPressForgotPassword} onPressRetryConnect={refetchService} /> |