fix(@desktop/profile): do not show store password to keychain dialog during saving Bio with enabled biometrics
This commit is contained in:
parent
d59cffd623
commit
3a26799781
|
@ -67,9 +67,10 @@ ColumnLayout {
|
||||||
(profileHeader.cropRect.x + profileHeader.cropRect.width).toFixed(),
|
(profileHeader.cropRect.x + profileHeader.cropRect.width).toFixed(),
|
||||||
(profileHeader.cropRect.y + profileHeader.cropRect.height).toFixed());
|
(profileHeader.cropRect.y + profileHeader.cropRect.height).toFixed());
|
||||||
}
|
}
|
||||||
if (biometricsSwitch.checked)
|
|
||||||
|
if (biometricsSwitch.checked && !biometricsSwitch.currentStoredValue)
|
||||||
Global.openPopup(storePasswordModal)
|
Global.openPopup(storePasswordModal)
|
||||||
else
|
else if (!biometricsSwitch.checked)
|
||||||
localAccountSettings.storeToKeychainValue = Constants.keychain.storedValue.never;
|
localAccountSettings.storeToKeychainValue = Constants.keychain.storedValue.never;
|
||||||
|
|
||||||
reset()
|
reset()
|
||||||
|
|
Loading…
Reference in New Issue