Unverified Commit d4e29099 authored by Hanwen Cheng's avatar Hanwen Cheng Committed by GitHub
Browse files

style: make alert button bigger (#666)

* ui: make alert button clear

* update the button texts
parent f90a83e8
Pipeline #102395 failed with stages
in 4 minutes and 36 seconds
......@@ -105,7 +105,13 @@ const styles = StyleSheet.create({
width: '90%'
},
button: {
marginVertical: 0
alignItems: 'center',
borderRadius: 0,
flex: 1,
flexGrow: 1,
justifyContent: 'center',
marginHorizontal: 2,
paddingHorizontal: 0
},
buttonBoldText: {
......
......@@ -103,7 +103,7 @@ export function validateSeed(seed: string, validBip39Seed: boolean): ValidSeed {
accountRecoveryAllowed: true,
bip39: false,
reason:
'This recovery phrase is not a valid BIP39 seed, will be treated as a legacy Parity brain wallet.',
'This recovery phrase is not a valid BIP39 seed, will be treated as a legacy Parity brain wallet. Make sure you understand the risks.',
valid: false
};
}
......
......@@ -106,7 +106,7 @@ export const alertCopyBackupPhrase = (
onPress: (): void => {
Clipboard.setString(seedPhrase);
},
text: 'Copy anyway'
text: 'Copy'
},
{
text: 'Cancel'
......@@ -122,7 +122,7 @@ export const alertRisks = (
setAlert('Warning', message, [
{
onPress,
text: 'I understand the risks'
text: 'Proceed'
},
{
text: 'Back'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment