From a8585173ae37fab24d68058e93a53d16443d2bc9 Mon Sep 17 00:00:00 2001 From: Praveen Perera Date: Sun, 15 Dec 2024 15:52:06 -0600 Subject: [PATCH] Require to PIN to disable auth if PIN is enabled --- ios/Cove/HomeScreens/SettingsScreen.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Cove/HomeScreens/SettingsScreen.swift b/ios/Cove/HomeScreens/SettingsScreen.swift index 00648c2..e06aef3 100644 --- a/ios/Cove/HomeScreens/SettingsScreen.swift +++ b/ios/Cove/HomeScreens/SettingsScreen.swift @@ -256,7 +256,7 @@ struct SettingsScreen: View { case .disableAuth: LockView( - lockType: app.authType, + lockType: app.authType == .biometric ? .biometric : .pin, isPinCorrect: checkPin, onUnlock: { _ in app.dispatch(action: .disableAuth)