feat: add text to hide recovery phrase

This commit is contained in:
RadoslavDimchev 2023-10-08 10:22:38 +03:00
parent 220b13eafc
commit ac167376d9
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@ const RecoveryPhrase = ({ isKeystoreFiles }: RecoveryPhraseProps) => {
</YStack>
</Stack>
<Stack style={{ width: 'fit-content', marginBottom: '12px' }}>
<Button onPress={revealHandler}>Reveal Recovery Phrase</Button>
<Button onPress={revealHandler}>
{isReveal ? 'Hide Recovery Phrase' : 'Reveal Recovery Phrase'}
</Button>
</Stack>
<InformationBox
message="Write down and keep your Secret Recovery Phrase in a secure place. Make sure no one is looking at your screen."