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

@ -12,7 +12,7 @@ class ApplicationItem extends StatelessWidget {
final Uint8List icon;
final String name;
final DateTime patchDate;
final String changelog;
final List<String> changelog;
final bool isUpdatableApp;
final Function() onPressed;
@ -103,8 +103,9 @@ class ApplicationItem extends StatelessWidget {
style: kRobotoTextStyle.copyWith(fontWeight: FontWeight.w700),
),
),
const SizedBox(height: 4),
Text(
changelog,
' - ${changelog.join('\n- ')}',
style: kRobotoTextStyle,
),
],