diff options
author | Eric Bailey <git@esb.lol> | 2023-11-21 10:04:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 10:04:23 -0600 |
commit | 3a21c02b8a9f49381db2c06f2bb925f2d11fb3ee (patch) | |
tree | 6f85bdb94f0e461f2f1fecab4be280077abcb602 /src | |
parent | c5b6f88e9a694d79126af4f742e66833dfd528bd (diff) | |
download | voidsky-3a21c02b8a9f49381db2c06f2bb925f2d11fb3ee.tar.zst |
Re-wrap forgot pw success in layout (#1966)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/auth/login/Login.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/auth/login/Login.tsx b/src/view/com/auth/login/Login.tsx index a2f924f95..67d0afdf1 100644 --- a/src/view/com/auth/login/Login.tsx +++ b/src/view/com/auth/login/Login.tsx @@ -136,7 +136,12 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => { </LoggedOutLayout> ) : undefined} {currentForm === Forms.PasswordUpdated ? ( - <PasswordUpdatedForm onPressNext={gotoForm(Forms.Login)} /> + <LoggedOutLayout + leadin="" + title={_(msg`Password updated`)} + description={_(msg`You can now sign in with your new password.`)}> + <PasswordUpdatedForm onPressNext={gotoForm(Forms.Login)} /> + </LoggedOutLayout> ) : undefined} </KeyboardAvoidingView> ) |