From f8711f670fe3f10b8ca6d0053fe1e2c65b383b9a Mon Sep 17 00:00:00 2001 From: Ryan ZHAO <> Date: Fri, 21 Mar 2025 10:34:37 +1100 Subject: [PATCH] increase permission chain delay to 0.7s --- Session/Utilities/Permissions.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Session/Utilities/Permissions.swift b/Session/Utilities/Permissions.swift index 09f16e8f8..8a521e23b 100644 --- a/Session/Utilities/Permissions.swift +++ b/Session/Utilities/Permissions.swift @@ -321,17 +321,17 @@ extension Permissions { presentingViewController: UIViewController? = nil, using dependencies: Dependencies ) { - DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { + DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) { requestMicrophonePermissionIfNeeded( presentingViewController: presentingViewController, using: dependencies, onAuthorized: { _ in - DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { + DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) { requestCameraPermissionIfNeeded( presentingViewController: presentingViewController, using: dependencies, onAuthorized: { _ in - DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { + DispatchQueue.main.asyncAfter(deadline: .now() + 0.7) { requestLocalNetworkPermissionIfNeeded(using: dependencies) } }