diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_file_widget.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_file_widget.dart index 7f6324531c..8c727ac4d5 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_file_widget.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/upload_image_file_widget.dart @@ -40,7 +40,7 @@ class UploadImageFileWidget extends StatelessWidget { // on desktop, the users can pick a image file from folder final result = await getIt().pickFiles( dialogTitle: '', - type: FileType.image, + type: FileType.custom, allowedExtensions: allowedExtensions, ); onPickFile(result?.files.firstOrNull?.path);