diff --git a/lib/services/manager_api.dart b/lib/services/manager_api.dart index e0af730e..08b3f251 100644 --- a/lib/services/manager_api.dart +++ b/lib/services/manager_api.dart @@ -61,6 +61,9 @@ class ManagerAPI { } Future setPatchedApps(List patchedApps) async { + if (patchedApps.length > 1) { + patchedApps.sort((a, b) => a.name.compareTo(b.name)); + } await _prefs.setStringList('patchedApps', patchedApps.map((a) => json.encode(a.toJson())).toList()); }