Skip to content

Commit

Permalink
Merge branch 'main' into PE-5029-suspend-data-item-validation-for-cli…
Browse files Browse the repository at this point in the history
…-uploads-during-download-to-investigate-root-cause
  • Loading branch information
thiagocarvalhodev committed Nov 16, 2023
2 parents 0a72a1d + 441c377 commit fbf3f12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/src/io_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ class IOFileAdapter {

Future<IOFile> fromXFile(XFile file) async {
final lastModified = await file.lastModified();
final contentType = lookupMimeTypeWithDefaultType(file.path);
final contentType =
file.mimeType ?? lookupMimeTypeWithDefaultType(file.path);

return _FromXFile(
file,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ardrive_io
description: A new Flutter package project.
version: 1.4.0
version: 1.4.1
homepage:
publish_to: none

Expand Down

0 comments on commit fbf3f12

Please sign in to comment.