From 8564c1a72e7f9d2c546fa0025b0626cfba26959e Mon Sep 17 00:00:00 2001 From: aAbed <39409020+TheAabedKhan@users.noreply.github.com> Date: Fri, 5 Apr 2024 06:43:59 +0545 Subject: [PATCH] fix: Do not crash when selecting an APK from storage (#1768) --- lib/ui/views/app_selector/app_selector_viewmodel.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/views/app_selector/app_selector_viewmodel.dart b/lib/ui/views/app_selector/app_selector_viewmodel.dart index bb6ad937ed..bc8d9c284c 100644 --- a/lib/ui/views/app_selector/app_selector_viewmodel.dart +++ b/lib/ui/views/app_selector/app_selector_viewmodel.dart @@ -258,7 +258,7 @@ class AppSelectorViewModel extends BaseViewModel { try { final String? result = await FlutterFileDialog.pickFile( params: const OpenFileDialogParams( - fileExtensionsFilter: ['apk'], + mimeTypesFilter: ['application/vnd.android.package-archive'], ), ); if (result != null) {