From 386e5ce100d1bb846549454e6c1e70c87619338d Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Wed, 23 Apr 2025 13:34:33 +0800 Subject: [PATCH] chore: add remove icon --- ui/lib/activity.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/lib/activity.dart b/ui/lib/activity.dart index 375340f..5b6172a 100644 --- a/ui/lib/activity.dart +++ b/ui/lib/activity.dart @@ -122,6 +122,14 @@ class _ActivityPageState extends ConsumerState color: Colors.green, ), ); + } else if (ac.status == "removed") { + return const Tooltip( + message: "已删除", + child: Icon( + Icons.remove, + //color: Colors.orange, + ), + ); } double p = ac.progress == null