From a7bbfc983e9fcc6fafea67a15f491f88e1909074 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sat, 12 Apr 2025 21:38:13 +0800 Subject: [PATCH] mod: show pgc renewalTime Signed-off-by: bggRGjQaUbCoE --- lib/pages/fav/pgc/widget/item.dart | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/pages/fav/pgc/widget/item.dart b/lib/pages/fav/pgc/widget/item.dart index 9235c93c..43d08dd7 100644 --- a/lib/pages/fav/pgc/widget/item.dart +++ b/lib/pages/fav/pgc/widget/item.dart @@ -146,10 +146,12 @@ class FavPgcItem extends StatelessWidget { if (item.newEp?['index_show'] != null) ...[ const SizedBox(height: 6), Text( - '${item.newEp?['index_show']}', + '${item.newEp?['index_show']}${item.isFinish == 0 && item.renewalTime?.isNotEmpty == true ? ',${item.renewalTime}' : ''}', style: TextStyle( fontSize: 13, - color: Theme.of(context).colorScheme.outline, + color: Theme.of(context) + .colorScheme + .onSurfaceVariant, ), ), ], @@ -161,7 +163,9 @@ class FavPgcItem extends StatelessWidget { item.progress!, style: TextStyle( fontSize: 13, - color: Theme.of(context).colorScheme.outline, + color: Theme.of(context) + .colorScheme + .onSurfaceVariant, ), ), ],