marinofaggiana 4 жил өмнө
parent
commit
4d61067afd

+ 5 - 5
iOSClient/AppDelegate.swift

@@ -174,11 +174,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
             application.setMinimumBackgroundFetchInterval(UIApplication.backgroundFetchIntervalMinimum)
         }
         
-        // Passcode
-        DispatchQueue.main.async {
-            self.passcodeWithAutomaticallyPromptForBiometricValidation(true)
-        }
-        
         // Intro
         if NCBrandOptions.shared.disable_intro {
             CCUtility.setIntro(true)
@@ -195,6 +190,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
             }
         }
         
+        // Passcode
+        DispatchQueue.main.async {
+            self.passcodeWithAutomaticallyPromptForBiometricValidation(true)
+        }
+        
         return true
     }