Show Private Key confirmation dialog button styling
This commit is contained in:
parent
af9b10341c
commit
2f19af25a7
@ -70,7 +70,7 @@ const ShowPKDialog = () => {
|
||||
)}
|
||||
<View>
|
||||
<Typography variant="body1" style={styles.dialogWarning}>
|
||||
<Typography component="span">Warning:</Typography>
|
||||
<Typography component="span">Warning: </Typography>
|
||||
Never disclose this key. Anyone with your private keys can steal
|
||||
any assets held in your account.
|
||||
</Typography>
|
||||
@ -79,10 +79,8 @@ const ShowPKDialog = () => {
|
||||
<DialogActions>
|
||||
{!privateKey ? (
|
||||
<>
|
||||
<Button onClick={handleShowPrivateKey} color="error">
|
||||
Yes
|
||||
</Button>
|
||||
<Button onClick={hideShowPKDialog}>No</Button>
|
||||
<Button style={{...styles.buttonRed, ...styles.button}} onClick={handleShowPrivateKey}>Yes</Button>
|
||||
<Button style={{...styles.buttonBlue, ...styles.button}} onClick={hideShowPKDialog}>No</Button>
|
||||
</>
|
||||
) : (
|
||||
<Button onClick={hideShowPKDialog}>Ok</Button>
|
||||
|
Loading…
Reference in New Issue
Block a user