mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Merge pull request #2864
ce4cb65
WizardAskPassword: hide strength if getPasswordStrength is missing (xiphon)
This commit is contained in:
commit
30c54b1c6e
1 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue