chore: updates

This commit is contained in:
Simon Ding
2024-07-13 21:02:36 +08:00
parent 1fc3d3a1fe
commit 294ab45218
2 changed files with 3 additions and 3 deletions

View File

@@ -31,11 +31,11 @@ class ActivityPage extends ConsumerWidget {
DataCell(Text("${activity.date!.toLocal()}")),
DataCell(() {
if (activity.inBackgroud == true) {
return MyProgressIndicator(size: 20,);
return const MyProgressIndicator(size: 20,);
}
if (activity.completed != true && activity.progress == 0) {
return MyProgressIndicator(
return const MyProgressIndicator(
value: 1,
color: Colors.red,
size: 20,

View File

@@ -93,7 +93,7 @@ class _TvDetailsPageState extends ConsumerState<TvDetailsPage> {
tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0),
childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0),
initiallyExpanded: k == 0 ? false : true,
title: Text("$k"),
title: k == 0 ? const Text("特集") :Text("$k"),
children: m[k]!,
);
list.add(seasonList);