marinofaggiana hace 4 años
padre
commit
248cdf4bde
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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:@""];