Skip to content

Commit

Permalink
fix: Do not crash when selecting an APK from storage (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAabedKhan authored Apr 5, 2024
1 parent f9e6ef3 commit 8564c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/views/app_selector/app_selector_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8564c1a

Please sign in to comment.