From a8e19b8fb6af6b9b6ee8f70dbe4ce56406a0c9d5 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Fri, 3 Nov 2017 16:16:54 +0100 Subject: [PATCH] Enable password strength meter on iOS --- wizard/WizardPasswordUI.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wizard/WizardPasswordUI.qml b/wizard/WizardPasswordUI.qml index d69197a6..bca911b8 100644 --- a/wizard/WizardPasswordUI.qml +++ b/wizard/WizardPasswordUI.qml @@ -43,7 +43,7 @@ ColumnLayout { wizard.nextButton.enabled = passwordItem.password === retypePasswordItem.password // TODO: password strength meter segfaults on Android. - if (!isMobile) { + if (!isAndroid) { // scorePassword returns value from 0 to... lots var strength = walletManager.getPasswordStrength(passwordItem.password); // consider anything below 10 bits as dire @@ -88,8 +88,8 @@ ColumnLayout { } PrivacyLevelSmall { - visible: !isMobile //TODO: strength meter doesnt work on Android - Layout.topMargin: isMobile ? 20 * scaleRatio : 40 * scaleRatio + visible: !isAndroid //TODO: strength meter doesnt work on Android + Layout.topMargin: isAndroid ? 20 * scaleRatio : 40 * scaleRatio Layout.fillWidth: true id: privacyLevel background: "#F0EEEE"