Re-wrap forgot pw success in layout (#1966)

zio/stable
Eric Bailey 2023-11-21 10:04:23 -06:00 committed by GitHub
parent c5b6f88e9a
commit 3a21c02b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -136,7 +136,12 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => {
</LoggedOutLayout> </LoggedOutLayout>
) : undefined} ) : undefined}
{currentForm === Forms.PasswordUpdated ? ( {currentForm === Forms.PasswordUpdated ? (
<LoggedOutLayout
leadin=""
title={_(msg`Password updated`)}
description={_(msg`You can now sign in with your new password.`)}>
<PasswordUpdatedForm onPressNext={gotoForm(Forms.Login)} /> <PasswordUpdatedForm onPressNext={gotoForm(Forms.Login)} />
</LoggedOutLayout>
) : undefined} ) : undefined}
</KeyboardAvoidingView> </KeyboardAvoidingView>
) )