fix: add changelog (wip) on each app item

This commit is contained in:
Alberto Ponces 2022-08-29 15:01:51 +01:00
parent 45f4a5b207
commit 080ceae784
10 changed files with 103 additions and 167 deletions

View file

@ -18,7 +18,9 @@ class PatchedApplication {
DateTime patchDate;
final bool isRooted;
final bool isFromStorage;
bool hasUpdates;
List<String> appliedPatches;
List<String> changelog;
PatchedApplication({
required this.name,
@ -27,9 +29,11 @@ class PatchedApplication {
required this.apkFilePath,
required this.icon,
required this.patchDate,
required this.isRooted,
required this.isFromStorage,
required this.appliedPatches,
this.isRooted = false,
this.isFromStorage = false,
this.hasUpdates = false,
this.appliedPatches = const [],
this.changelog = const [],
});
factory PatchedApplication.fromJson(Map<String, dynamic> json) =>