From 11fb137f6c1e3087f29b8fc3671566799e8f6f64 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 11 Sep 2023 13:40:44 -0700 Subject: [PATCH] Return empty platform info for desktop builds --- lib/cwtch/ffi.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cwtch/ffi.dart b/lib/cwtch/ffi.dart index f178c209..057eb904 100644 --- a/lib/cwtch/ffi.dart +++ b/lib/cwtch/ffi.dart @@ -1059,6 +1059,6 @@ class CwtchFfi implements Cwtch { @override Future> PlatformChannelInfo() { - throw HashMap(); + return Future.value(HashMap()); } }