Show Private Key confirmation dialog button styling

This commit is contained in:
Monkey
2024-08-09 16:06:17 -04:00
committed by cfbender
parent b2a043068a
commit c818bc0b9d
+3 -5
View File
@@ -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>