Skip to content

Commit

Permalink
Merge pull request #1425 from ardriveapp/PE-4583-video-preview-minus-…
Browse files Browse the repository at this point in the history
…large-uploads-and-downloads

PE-4583: video preview minus large uploads and downloads
  • Loading branch information
thiagocarvalhodev authored Oct 18, 2023
2 parents 5db02d8 + 7ec059d commit 5199996
Show file tree
Hide file tree
Showing 7 changed files with 888 additions and 181 deletions.
3 changes: 1 addition & 2 deletions lib/blocs/fs_entry_preview/fs_entry_preview_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,7 @@ class FsEntryPreviewCubit extends Cubit<FsEntryPreviewState> {
return audioContentTypes
.any((element) => element.contains(fileExtension));
case 'video':
return videoContentTypes
.any((element) => element.contains(fileExtension));
return true;
default:
return false;
}
Expand Down
4 changes: 4 additions & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,10 @@
"@fileType": {
"description": "The MIME type of the file"
},
"fileTypeUnsupported": "File type unsupported by browser or operating system",
"@fileTypeUnsupported": {
"description": "Message shown when unable to load media file due to unsupported file format"
},
"fileWasCreatedWithName": "This file was created with the name {fileName}.",
"@fileWasCreatedWithName": {
"description": "File activity (journal): created",
Expand Down
Loading

0 comments on commit 5199996

Please sign in to comment.