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