mirror of
https://github.com/Qortal/qortal-mobile.git
synced 2025-03-14 11:52:33 +00:00
fix bug create account
This commit is contained in:
parent
4ce4264dea
commit
6ed45501f7
13
src/App.tsx
13
src/App.tsx
@ -851,9 +851,7 @@ function App() {
|
||||
walletToBeDownloaded.wallet,
|
||||
walletToBeDownloaded.qortAddress
|
||||
);
|
||||
await showInfo({
|
||||
message: `Your wallet file was saved to internal storage, in the document folder. Keep that file secure.`,
|
||||
})
|
||||
|
||||
} catch (error: any) {
|
||||
setWalletToBeDownloadedError(error?.message);
|
||||
} finally {
|
||||
@ -2415,6 +2413,9 @@ function App() {
|
||||
onClick={async () => {
|
||||
await saveFileToDiskFunc();
|
||||
returnToMain();
|
||||
await showInfo({
|
||||
message: `Your wallet file was saved to internal storage, in the document folder. Keep that file secure.`,
|
||||
})
|
||||
}}
|
||||
>
|
||||
Backup Account
|
||||
@ -2555,20 +2556,20 @@ function App() {
|
||||
)}
|
||||
{isShowInfo && (
|
||||
<Dialog
|
||||
open={isShow}
|
||||
open={isShowInfo}
|
||||
aria-labelledby="alert-dialog-title"
|
||||
aria-describedby="alert-dialog-description"
|
||||
>
|
||||
<DialogTitle id="alert-dialog-title">{"Important Info"}</DialogTitle>
|
||||
<DialogContent>
|
||||
<DialogContentText id="alert-dialog-description">
|
||||
{message.message}
|
||||
{messageInfo.message}
|
||||
</DialogContentText>
|
||||
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
|
||||
<Button variant="contained" onClick={onOk} autoFocus>
|
||||
<Button variant="contained" onClick={onOkInfo} autoFocus>
|
||||
Close
|
||||
</Button>
|
||||
</DialogActions>
|
||||
|
Loading…
x
Reference in New Issue
Block a user