marinofaggiana 4 年之前
父节点
当前提交
248cdf4bde
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Settings/CCSettings.m

+ 1 - 1
iOSClient/Settings/CCSettings.m

@@ -321,7 +321,7 @@
 
 - (void)didPerformBiometricValidationRequestInPasscodeViewController:(TOPasscodeViewController *)passcodeViewController
 {
-    [[LAContext new] evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:@"Nextcloud" reply:^(BOOL success, NSError * _Nullable error) {
+    [[LAContext new] evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:[[NCBrandOptions sharedInstance] brand] reply:^(BOOL success, NSError * _Nullable error) {
         if (success) {
             dispatch_async(dispatch_get_main_queue(), ^{
                 [CCUtility setBlockCode:@""];