From 1227a49b90a6c9b74fe8f0a43cd2972512b3b755 Mon Sep 17 00:00:00 2001 From: JarvanMo Date: Tue, 15 Oct 2024 20:10:14 +0800 Subject: [PATCH] fix #645 --- lib/src/foundation/share_models.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/foundation/share_models.dart b/lib/src/foundation/share_models.dart index 7008654b..4480d638 100644 --- a/lib/src/foundation/share_models.dart +++ b/lib/src/foundation/share_models.dart @@ -344,7 +344,7 @@ class WeChatImageToShare with _Argument { } if (Platform.isAndroid) { - assert(uint8List == null && localImagePath == null); + assert(uint8List != null || localImagePath != null); } }