Skip to content

Commit

Permalink
add star in message list
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpengi committed Dec 4, 2023
1 parent 021305c commit c8b6c04
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/widgets/message_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,12 @@ class MessageWithPossibleSender extends StatelessWidget {
if ((message.reactions?.total ?? 0) > 0)
ReactionChipsList(messageId: message.id, reactions: message.reactions!),
]))),
const SizedBox(width: 16),
SizedBox(width: 16,
child: Column(
children: [
if (message.flags.contains(MessageFlag.starred))
const Icon(size: 16, Icons.star),
])),
]
),
]
Expand Down

0 comments on commit c8b6c04

Please sign in to comment.