mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 12:47:37 +02:00
fix: Don't crash installation when saving last APK is disabled (#2128)
This commit is contained in:
@ -195,7 +195,8 @@ class InstallerViewModel extends BaseViewModel {
|
||||
} else {
|
||||
_app.patchedFilePath = _patcherAPI.outFile!.path;
|
||||
}
|
||||
locator<HomeViewModel>().initialize(context);
|
||||
final homeViewModel = locator<HomeViewModel>();
|
||||
_managerAPI.reAssessPatchedApps().then((_) => homeViewModel.getPatchedApps());
|
||||
} on Exception catch (e) {
|
||||
update(
|
||||
-100.0,
|
||||
|
Reference in New Issue
Block a user