mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-22 11:47:30 +08:00
chore: updates
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user