parent
6fd68c10f3
commit
f01bbcb926
|
@ -182,22 +182,22 @@ ModalPopup {
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfirmationDialog {
|
Component {
|
||||||
id: removeSeedPhraseConfirm
|
id: removeSeedPhraseConfirmDialogComponent
|
||||||
//% "Are you sure?"
|
ConfirmationDialog {
|
||||||
title: qsTrId("are-you-sure?")
|
id: confirmPopup
|
||||||
//% "You will not be able to see the whole seed phrase again"
|
//% "Are you sure?"
|
||||||
confirmationText: qsTrId("are-you-sure-description")
|
title: qsTrId("are-you-sure?")
|
||||||
onConfirmButtonClicked: {
|
//% "You will not be able to see the whole seed phrase again"
|
||||||
profileModel.mnemonic.remove()
|
confirmationText: qsTrId("are-you-sure-description")
|
||||||
popup.close();
|
onConfirmButtonClicked: {
|
||||||
removeSeedPhraseConfirm.close();
|
profileModel.mnemonic.remove()
|
||||||
}
|
popup.close();
|
||||||
onClosed: {
|
confirmPopup.close();
|
||||||
seedWord1Idx = -1;
|
}
|
||||||
seedWord2Idx = -1;
|
onClosed: {
|
||||||
txtFieldWord.text = "";
|
destroy();
|
||||||
validationError = "";
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -260,7 +260,7 @@ ModalPopup {
|
||||||
|
|
||||||
validationError = "";
|
validationError = "";
|
||||||
txtFieldWord.text = "";
|
txtFieldWord.text = "";
|
||||||
removeSeedPhraseConfirm.open();
|
openPopup(removeSeedPhraseConfirmDialogComponent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue