diff --git a/lib/modules/meeting/controllers/meeting_controller.dart b/lib/modules/meeting/controllers/meeting_controller.dart index 955c2b82f..f7c34edbd 100644 --- a/lib/modules/meeting/controllers/meeting_controller.dart +++ b/lib/modules/meeting/controllers/meeting_controller.dart @@ -322,6 +322,7 @@ class MeetingController extends GetxController { } else { FilePickerResult? result = await FilePicker.platform.pickFiles( withData: true, + type: FileType.audio, ); if (result != null) { PlatformFile file = result.files.first; diff --git a/pubspec.yaml b/pubspec.yaml index 0298f6e64..6fb187beb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -36,7 +36,7 @@ dependencies: webview_flutter: ^4.13.0 flutter_easyloading: ^3.0.5 package_info_plus: ^8.3.0 - file_picker: ^10.1.5 + file_picker: ^10.2.0 haptic_feedback: ^0.5.1+1 tencentcloud_cos_sdk_plugin: ^1.2.3 photo_view: ^0.15.0