Skip to content

Commit

Permalink
mod: 已读标记
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Mar 24, 2023
1 parent 7d4a920 commit 922abc6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/components/home/list_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,11 @@ class _ListItemState extends State<ListItem>
],
),
if (topic.nodeName.isNotEmpty) ...[
NodeTag(
nodeId: topic.nodeId, nodeName: topic.nodeName, route: 'home')
Opacity(
opacity: topic.readStatus == 'unread' ? 1 : 0.6,
child: NodeTag(
nodeId: topic.nodeId, nodeName: topic.nodeName, route: 'home'),
),
]
],
),
Expand Down

0 comments on commit 922abc6

Please sign in to comment.