wizard: improve restore from device ui/ux

This commit is contained in:
selsta
2019-03-01 08:20:05 +01:00
parent f7ac041b4e
commit fc68567f23
3 changed files with 46 additions and 2 deletions

View File

@@ -67,7 +67,13 @@ ColumnLayout {
Layout.fillWidth: true
header: qsTr("Restore height") + translationManager.emptyString
value: wizardController.walletOptionsRestoreHeight
visible: wizardController.walletOptionsRestoreHeight > 0
visible: {
if (walletOptionsIsRecoveringFromDevice && !wizardController.walletOptionsDeviceIsRestore) {
return false;
} else {
return (wizardController.walletOptionsRestoreHeight > 0);
}
}
}
WizardSummaryItem {