show private key dialog styling
This commit is contained in:
parent
1907d2326a
commit
0b32e4b4c4
@ -61,7 +61,7 @@ const ShowPKDialog = () => {
|
|||||||
style={styles.dataBoxData}
|
style={styles.dataBoxData}
|
||||||
sx={{
|
sx={{
|
||||||
wordWrap: "break-word",
|
wordWrap: "break-word",
|
||||||
whiteSpace: "initial",
|
whiteSpace: "initial"
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{privateKey}
|
{privateKey}
|
||||||
@ -70,8 +70,7 @@ const ShowPKDialog = () => {
|
|||||||
)}
|
)}
|
||||||
<View>
|
<View>
|
||||||
<Typography variant="body1" style={styles.dialogWarning}>
|
<Typography variant="body1" style={styles.dialogWarning}>
|
||||||
<Typography component="span">Warning: </Typography>
|
Warning: 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>
|
||||||
</View>
|
</View>
|
||||||
@ -83,7 +82,7 @@ const ShowPKDialog = () => {
|
|||||||
<Button style={{...styles.buttonBlue, ...styles.button}} onClick={hideShowPKDialog}>No</Button>
|
<Button style={{...styles.buttonBlue, ...styles.button}} onClick={hideShowPKDialog}>No</Button>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<Button onClick={hideShowPKDialog}>Ok</Button>
|
<Button style={{...styles.buttonBlue, ...styles.button}} onClick={hideShowPKDialog}>Ok</Button>
|
||||||
)}
|
)}
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
@ -281,6 +281,8 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
dataBoxContainer: {
|
dataBoxContainer: {
|
||||||
marginBottom: 10,
|
marginBottom: 10,
|
||||||
|
backgroundColor: '#29292E',
|
||||||
|
border: 'none'
|
||||||
},
|
},
|
||||||
dataBoxLabel: {
|
dataBoxLabel: {
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
@ -296,7 +298,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
dataBoxData: {
|
dataBoxData: {
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
color: 'black',
|
color: 'white',
|
||||||
},
|
},
|
||||||
transactionText: {
|
transactionText: {
|
||||||
padding: 8,
|
padding: 8,
|
||||||
|
Loading…
Reference in New Issue
Block a user