fix: remove highlight when message is unpinned
This commit is contained in:
parent
7faf4a6c2d
commit
2d23bd914c
1 changed files with 4 additions and 1 deletions
|
|
@ -293,7 +293,10 @@ class Message extends StatelessWidget {
|
|||
borderRadius: BorderRadius.circular(
|
||||
AppConfig.borderRadius / 2,
|
||||
),
|
||||
color: selected || highlightMarker
|
||||
color: selected ||
|
||||
(highlightMarker &&
|
||||
event.room.pinnedEventIds
|
||||
.contains(event.eventId))
|
||||
? theme.colorScheme.secondaryContainer
|
||||
.withAlpha(128)
|
||||
: Colors.transparent,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue