Tweak use of attemptToCorrectInstallStatus

This commit is contained in:
Imran Remtulla
2023-04-30 02:28:14 -04:00
parent 8b123acdcd
commit 08586870fb
2 changed files with 2 additions and 3 deletions

View File

@@ -730,7 +730,7 @@ class AppsProvider with ChangeNotifier {
apps[i].installedVersion = null;
}
}
await saveApps(apps, attemptToCorrectInstallStatus: false);
await saveApps(apps, attemptToCorrectInstallStatus: !remove);
}
if (remove) {
await removeApps(apps.map((e) => e.id).toList());