Explorar o código

Merge pull request #1995 from nextcloud/fix/passcode

Add passcode delegate method
Marino Faggiana %!s(int64=3) %!d(string=hai) anos
pai
achega
1de286450e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      iOSClient/AppDelegate.swift

+ 4 - 0
iOSClient/AppDelegate.swift

@@ -764,6 +764,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         return code == CCUtility.getPasscode()
     }
 
+    func didPerformBiometricValidationRequest(in passcodeViewController: TOPasscodeViewController) {
+        enableTouchFaceID()
+    }
+
     // MARK: - Privacy Protection
 
     private func showPrivacyProtectionWindow() {