fix: minor improvements

This commit is contained in:
Alberto Ponces
2022-08-15 10:55:17 +01:00
parent 5c71930ec1
commit 384d593024
3 changed files with 19 additions and 7 deletions

View File

@ -62,7 +62,7 @@ class InstallerViewModel extends BaseViewModel {
locator<PatchesSelectorViewModel>().selectedPatches;
if (selectedPatches.isNotEmpty) {
addLog('Initializing installer...');
if (selectedApp.isRooted) {
if (selectedApp.isRooted && !selectedApp.isFromStorage) {
addLog('Checking if an old patched version exists...');
bool oldExists =
await locator<PatcherAPI>().checkOldPatch(selectedApp);