feat: Show all supported image-/video-files when sending images or videos

pull/1802/head
MoonlightWave-12 7 months ago
parent 0c27757154
commit 380639496d
No known key found for this signature in database
GPG Key ID: 05279021CDF3E6E6

@ -50,6 +50,10 @@ enum FileSelectorType {
any([], FileType.any, null),
images(
[
XTypeGroup(
label: 'Images',
extensions: <String>['jpg', 'JPG', 'jpeg', 'JPEG', 'png', 'PNG', 'webp', 'WebP', 'WEBP', 'gif', 'GIF', 'bmp', 'BMP', 'tiff', 'TIFF', 'tif', 'TIF', 'heic', 'HEIC', 'svg', 'SVG'],
),
XTypeGroup(
label: 'JPG',
extensions: <String>['jpg', 'JPG', 'jpeg', 'JPEG'],
@ -88,6 +92,10 @@ enum FileSelectorType {
),
videos(
[
XTypeGroup(
label: 'Videos',
extensions: <String>['mp4', 'MP4', 'avi', 'AVI', 'webm', 'WebM', 'WEBM', 'mov', 'MOV', 'mkv', 'MKV', 'wmv', 'WMV', 'flv', 'FLV', 'mpeg', 'MPEG', '3gp', '3GP', 'ogg', 'OGG'],
),
XTypeGroup(
label: 'MP4',
extensions: <String>['mp4', 'MP4'],

Loading…
Cancel
Save