Merge pull request #889 from Bubu/read_unread_icons
Fix swapped icons for mark read/unread and pin/unpin
This commit is contained in:
commit
ce5ad908de
1 changed files with 4 additions and 4 deletions
|
|
@ -138,8 +138,8 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
|
||||||
tooltip: L10n.of(context)!.toggleUnread,
|
tooltip: L10n.of(context)!.toggleUnread,
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
controller.anySelectedRoomNotMarkedUnread
|
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,
|
onPressed: controller.toggleUnread,
|
||||||
),
|
),
|
||||||
|
|
@ -147,8 +147,8 @@ class ChatListHeader extends StatelessWidget implements PreferredSizeWidget {
|
||||||
tooltip: L10n.of(context)!.toggleFavorite,
|
tooltip: L10n.of(context)!.toggleFavorite,
|
||||||
icon: Icon(
|
icon: Icon(
|
||||||
controller.anySelectedRoomNotFavorite
|
controller.anySelectedRoomNotFavorite
|
||||||
? Icons.push_pin_outlined
|
? Icons.push_pin
|
||||||
: Icons.push_pin,
|
: Icons.push_pin_outlined,
|
||||||
),
|
),
|
||||||
onPressed: controller.toggleFavouriteRoom,
|
onPressed: controller.toggleFavouriteRoom,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue