瀏覽代碼

Merge pull request #1995 from nextcloud/fix/passcode

Add passcode delegate method
Marino Faggiana 2 年之前
父節點
當前提交
1de286450e
共有 1 個文件被更改,包括 4 次插入0 次删除
  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() {