From 370eb3e4dec602b2efa897217b968a967b7b65bd Mon Sep 17 00:00:00 2001 From: Ryan ZHAO <> Date: Thu, 9 Jan 2025 14:02:34 +1100 Subject: [PATCH] fix microphone permission request API --- Session/Utilities/Permissions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Session/Utilities/Permissions.swift b/Session/Utilities/Permissions.swift index 3b221af93..087218feb 100644 --- a/Session/Utilities/Permissions.swift +++ b/Session/Utilities/Permissions.swift @@ -91,7 +91,7 @@ extension Permissions { case .denied: handlePermissionDenied() case .undetermined: onNotGranted?() - AVAudioSession.sharedInstance().requestRecordPermission { _ in } + AVAudioApplication.requestRecordPermission { _ in } default: break }