Skip to content

Commit

Permalink
Update packages/share_plus/share_plus_platform_interface/lib/method_c…
Browse files Browse the repository at this point in the history
…hannel/method_channel_share.dart

Co-authored-by: Volodymyr Buberenko <[email protected]>
  • Loading branch information
miquelbeltran and vbuberen authored Jul 17, 2024
1 parent 8bbdd78 commit 5ef4dce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5ef4dce

Please sign in to comment.