Skip to content

Commit

Permalink
CP-3681 Update logout Copy to reset/erase account (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
neven-s authored Oct 12, 2022
1 parent 4de81b9 commit 21e1314
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/screens/drawer/components/SignOutItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const SignOutItem = () => {
<AvaButton.SecondaryLarge
style={{ margin: 16 }}
onPress={() => navigation.navigate(AppNavigation.Modal.SignOut)}>
Log Out
Reset Wallet
</AvaButton.SecondaryLarge>
)
}
Expand Down
6 changes: 4 additions & 2 deletions app/screens/mainView/SignOutBottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ const LogoutScreen = ({
}
]}>
<AvaText.Heading2 textStyle={{ textAlign: 'center' }}>
Have you recorded your recovery phrase?
Are you sure you want to erase your wallet?
</AvaText.Heading2>
<AvaText.Body2 textStyle={{ textAlign: 'center', marginVertical: 16 }}>
Without this you will not be able to sign back in to your account.
{
'Your current wallet will be removed from this app permanently. This cannot be undone. \n\nYou can ONLY recover this wallet with your recovery phrase. Core wallet does not store your recovery phrase.'
}
</AvaText.Body2>
<AvaButton.PrimaryLarge onPress={onConfirm}>Yes</AvaButton.PrimaryLarge>
<Space y={8} />
Expand Down

0 comments on commit 21e1314

Please sign in to comment.