Patch from notification mentions bugfix in bwm

This commit is contained in:
Arnfried Griesert
2022-09-22 16:36:18 +02:00
parent 40c5f3a497
commit d6d4d22541
2 changed files with 9 additions and 3 deletions
@@ -101,7 +101,7 @@
if (0 < roomCellData.notificationCount)
{
if( [BwiBuildSettings showMentionsInRoom] ) {
self.missedNotifAndUnreadIndicator.backgroundColor = [Mentions countMentionsWithRoomID:roomCellData.roomIdentifier] ? ThemeService.shared.theme.noticeColor : ThemeService.shared.theme.noticeSecondaryColor;
self.missedNotifAndUnreadIndicator.backgroundColor = [Mentions countMentionsWithRoomID:roomCellData.roomIdentifier] > 0 ? ThemeService.shared.theme.noticeColor : ThemeService.shared.theme.noticeSecondaryColor;
} else {
self.missedNotifAndUnreadIndicator.backgroundColor = roomCellData.highlightCount ? ThemeService.shared.theme.noticeColor : ThemeService.shared.theme.noticeSecondaryColor;
}