fix: Do not crash when selecting an APK from storage (#1768)

This commit is contained in:
aAbed 2024-04-05 06:43:59 +05:45 committed by GitHub
parent f9e6ef3fd3
commit 8564c1a72e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {