Преглед на файлове

Add passcode delegate method

- add missing `didPerformBiometricValidationRequest` delegate method from TOPasscodeViewController
- there is no default implementation. If not implemented the button won't do anything

Signed-off-by: Henrik Storch <henrik.storch@nextcloud.com>
Henrik Storch преди 2 години
родител
ревизия
61d03b59e9
променени са 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() {