mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Do not crash when selecting an APK from storage (#1768)
This commit is contained in:
parent
f9e6ef3fd3
commit
8564c1a72e
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user