mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-11 05:36:17 +00:00
fix: Do not crash when selecting an APK from storage (#1768)
This commit is contained in:
@@ -258,7 +258,7 @@ class AppSelectorViewModel extends BaseViewModel {
|
|||||||
try {
|
try {
|
||||||
final String? result = await FlutterFileDialog.pickFile(
|
final String? result = await FlutterFileDialog.pickFile(
|
||||||
params: const OpenFileDialogParams(
|
params: const OpenFileDialogParams(
|
||||||
fileExtensionsFilter: ['apk'],
|
mimeTypesFilter: ['application/vnd.android.package-archive'],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user