mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-18 20:49:30 +02:00
Slightly more efficient JSON importing (tiny difference)
This commit is contained in:
@@ -392,8 +392,8 @@ class AppsProvider with ChangeNotifier {
|
||||
for (App a in importedApps) {
|
||||
a.installedVersion =
|
||||
apps.containsKey(a.id) ? apps[a]?.app.installedVersion : null;
|
||||
await saveApps([a]);
|
||||
}
|
||||
await saveApps(importedApps);
|
||||
notifyListeners();
|
||||
return importedApps.length;
|
||||
}
|
||||
|
Reference in New Issue
Block a user