feat: Add install error dialogs to prevent faulty installations

This commit is contained in:
Alberto Ponces
2022-09-19 01:44:27 +01:00
parent 6c2ceed91f
commit 2f14746124
5 changed files with 65 additions and 23 deletions

View File

@ -54,6 +54,7 @@ class AppSelectorViewModel extends BaseViewModel {
apkFilePath: result.files.single.path!,
icon: application.icon,
patchDate: DateTime.now(),
isFromStorage: true,
);
locator<PatcherViewModel>().selectedPatches.clear();
locator<PatcherViewModel>().notifyListeners();