Re-wrap forgot pw success in layout (#1966)
This commit is contained in:
@@ -136,7 +136,12 @@ export const Login = ({onPressBack}: {onPressBack: () => void}) => {
|
|||||||
</LoggedOutLayout>
|
</LoggedOutLayout>
|
||||||
) : undefined}
|
) : undefined}
|
||||||
{currentForm === Forms.PasswordUpdated ? (
|
{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}
|
) : undefined}
|
||||||
</KeyboardAvoidingView>
|
</KeyboardAvoidingView>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user