aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wizard/WizardAskPassword.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml
index 6aac90ed..ae4ef308 100644
--- a/wizard/WizardAskPassword.qml
+++ b/wizard/WizardAskPassword.qml
@@ -47,7 +47,7 @@ ColumnLayout {
}
function calcPasswordStrength(inp) {
- if(isAndroid) return;
+ if(!progressLayout.visible) return;
if(passwordInput.text.length <= 1){
root.passwordFill = 0;
progressText.text = passwordStrengthText + qsTr("Low") + translationManager.emptyString;
@@ -91,8 +91,9 @@ ColumnLayout {
}
ColumnLayout {
+ id: progressLayout
spacing: 0
- visible: !isAndroid
+ visible: !isAndroid && walletManager.getPasswordStrength !== undefined
Layout.fillWidth: true
TextInput {