WizardCreateDevice1: Use "Restore wallet" instead of "Create wallet" on Next button when restoring

This commit is contained in:
rating89us 2021-12-01 21:50:55 +01:00 committed by GitHub
parent c72729fa5d
commit 3e159e0ed6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -221,7 +221,7 @@ Rectangle {
progress: 0 progress: 0
btnNext.enabled: walletInput.verify() && wizardCreateDevice1.deviceName; btnNext.enabled: walletInput.verify() && wizardCreateDevice1.deviceName;
btnPrev.text: qsTr("Back to menu") + translationManager.emptyString btnPrev.text: qsTr("Back to menu") + translationManager.emptyString
btnNext.text: qsTr("Create wallet") + translationManager.emptyString btnNext.text: newDeviceWallet.checked ? qsTr("Create wallet") : qsTr("Restore wallet") + translationManager.emptyString
onPrevClicked: { onPrevClicked: {
wizardStateView.state = "wizardHome"; wizardStateView.state = "wizardHome";
} }