mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 08:25:12 +00:00
fix: use correct icons for mark read/unread action
If any selected room is not marked unread (anySelectedRoomNotMarkedUnread), then show the 'mark unread' action icon, else show the 'mark as read' icon. This makes it consistent with the notification on/off action.
This commit is contained in:
parent
aa68e8fe3b
commit
3e4bbc4b2f
1 changed files with 2 additions and 2 deletions
|
@ -138,8 +138,8 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
|
|||
tooltip: L10n.of(context)!.toggleUnread,
|
||||
icon: Icon(
|
||||
controller.anySelectedRoomNotMarkedUnread
|
||||
? Icons.mark_chat_read_outlined
|
||||
: Icons.mark_chat_unread_outlined,
|
||||
? Icons.mark_chat_unread_outlined
|
||||
: Icons.mark_chat_read_outlined,
|
||||
),
|
||||
onPressed: controller.toggleUnread,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue