From 95e1accf335471efb17faa5037038bb05b09bcdc Mon Sep 17 00:00:00 2001 From: Posawat Jirawutworanat Date: Thu, 13 Jul 2023 18:18:53 +0700 Subject: [PATCH] fix return result from isMuted --- ios/Classes/SwiftFlutterCallkitIncomingPlugin.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/Classes/SwiftFlutterCallkitIncomingPlugin.swift b/ios/Classes/SwiftFlutterCallkitIncomingPlugin.swift index f744cf34..5c45ba69 100644 --- a/ios/Classes/SwiftFlutterCallkitIncomingPlugin.swift +++ b/ios/Classes/SwiftFlutterCallkitIncomingPlugin.swift @@ -135,12 +135,12 @@ public class SwiftFlutterCallkitIncomingPlugin: NSObject, FlutterPlugin, CXProvi case "isMuted": guard let args = call.arguments as? [String: Any] , let callId = args["id"] as? String else{ - result("OK") + result(false) return } guard let callUUID = UUID(uuidString: callId), let call = self.callManager.callWithUUID(uuid: callUUID) else { - result("OK") + result(false) return } result(call.isMuted)