marinofaggiana 4 lat temu
rodzic
commit
248cdf4bde
1 zmienionych plików z 1 dodań i 1 usunięć
  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:@""];