Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
d4e29099
Unverified
Commit
d4e29099
authored
Aug 01, 2020
by
Hanwen Cheng
Committed by
GitHub
Aug 01, 2020
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
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/CustomAlert.tsx
View file @
d4e29099
...
...
@@ -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
:
{
...
...
src/utils/account.ts
View file @
d4e29099
...
...
@@ -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
};
}
...
...
src/utils/alertUtils.ts
View file @
d4e29099
...
...
@@ -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
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment