From 5ef4dcedf318c912047a85b2f19c80675c75575f Mon Sep 17 00:00:00 2001 From: Miguel Beltran Date: Wed, 17 Jul 2024 09:25:02 +0200 Subject: [PATCH] Update packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart Co-authored-by: Volodymyr Buberenko --- .../lib/method_channel/method_channel_share.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart b/packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart index a213b49ff2..20edd2108b 100644 --- a/packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart +++ b/packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart @@ -145,7 +145,7 @@ class MethodChannelShare extends SharePlatform { final tempSubfolderPath = "$tempRoot/${const Uuid().v4()}"; await Directory(tempSubfolderPath).create(recursive: true); - // True if filename exists, or the filename has a valid extension + // True if filename exists or the filename has a valid extension final filenameNotEmptyOrHasValidExt = file.name.isNotEmpty || lookupMimeType(file.name) != null;