From 3a2679978165075a7cebbc87ff5f74171f695448 Mon Sep 17 00:00:00 2001 From: mprakhov Date: Fri, 23 Dec 2022 17:11:27 +0200 Subject: [PATCH] fix(@desktop/profile): do not show store password to keychain dialog during saving Bio with enabled biometrics --- .../Profile/views/profile/MyProfileSettingsView.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Profile/views/profile/MyProfileSettingsView.qml b/ui/app/AppLayouts/Profile/views/profile/MyProfileSettingsView.qml index 40598a4e0b..89dd2b6737 100644 --- a/ui/app/AppLayouts/Profile/views/profile/MyProfileSettingsView.qml +++ b/ui/app/AppLayouts/Profile/views/profile/MyProfileSettingsView.qml @@ -67,9 +67,10 @@ ColumnLayout { (profileHeader.cropRect.x + profileHeader.cropRect.width).toFixed(), (profileHeader.cropRect.y + profileHeader.cropRect.height).toFixed()); } - if (biometricsSwitch.checked) + + if (biometricsSwitch.checked && !biometricsSwitch.currentStoredValue) Global.openPopup(storePasswordModal) - else + else if (!biometricsSwitch.checked) localAccountSettings.storeToKeychainValue = Constants.keychain.storedValue.never; reset()