fix button

This commit is contained in:
Simon Ding
2025-02-10 16:13:21 +08:00
parent ce020566b7
commit 2f08b5d332

View File

@@ -140,7 +140,7 @@ class _ActivityPageState extends ConsumerState<ActivityPage>
], ],
), ),
), ),
trailing: selectedTab == 0 trailing: selectedTab != 2
? IconButton( ? IconButton(
tooltip: "删除任务", tooltip: "删除任务",
onPressed: () => onDelete()(ac.id!), onPressed: () => onDelete()(ac.id!),