replace Dialog.tsx changes

This commit is contained in:
Monkey 2024-08-09 14:11:31 -04:00 committed by Cody Bender
parent 38d68a86d5
commit f67569a25e

View File

@ -25,28 +25,20 @@ const DialogComponent = ({
return ( return (
<Dialog open={visible} onClose={hideDialog}> <Dialog open={visible} onClose={hideDialog}>
<DialogTitle>Mnemonic</DialogTitle> <DialogTitle style={{...styles.mnemonicTitle}}>Mnemonic</DialogTitle>
<DialogContent> <DialogContent style={{...styles.mnemonicContainer}}>
<Typography <Typography component="div">
variant="h6" Your mnemonic provides full access to your wallet and funds.<br/>
component="div" Make sure to note it down.
style={{ color: "rgba(0, 0, 0, 0.87)" }}
>
Your mnemonic provides full access to your wallet and funds. Make sure
to note it down.
</Typography> </Typography>
<Typography <Typography component="div" style={{ ...styles.mnomonicDialogWarning }}>
variant="h6"
component="div"
style={{ ...styles.dialogWarning }}
>
Do not share your mnemonic with anyone Do not share your mnemonic with anyone
</Typography> </Typography>
<GridView words={words} /> <GridView words={words} />
</DialogContent> </DialogContent>
<DialogActions> <DialogActions style={{...styles.mnemonicButtonRow}}>
<Button onClick={copyMnemonic}>Copy</Button> <Button style={{...styles.mnemonicButton}} onClick={copyMnemonic}>Copy</Button>
<Button onClick={hideDialog}>Done</Button> <Button style={{...styles.mnemonicButton}} onClick={hideDialog}>Done</Button>
</DialogActions> </DialogActions>
</Dialog> </Dialog>
); );