mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-27 11:43:47 +01:00 
			
		
		
		
	Tweak use of attemptToCorrectInstallStatus
This commit is contained in:
		| @@ -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()); | ||||
|   | ||||
| @@ -206,8 +206,7 @@ class SettingsProvider with ChangeNotifier { | ||||
|           .map((e) => e as App) | ||||
|           .toList(); | ||||
|       if (changedApps.isNotEmpty) { | ||||
|         appsProvider.saveApps(changedApps, | ||||
|             attemptToCorrectInstallStatus: false); | ||||
|         appsProvider.saveApps(changedApps); | ||||
|       } | ||||
|     } | ||||
|     prefs?.setString('categories', jsonEncode(cats)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user