element-hq/element-meta/issues/2201 - Disable mark as unread

- relates to element-hq/element-meta/issues/891
- relates to element-hq/element-ios/issues/7253
This commit is contained in:
Stefan Ceriu
2024-02-21 14:33:19 +02:00
parent 467a754398
commit cd94e1915e
4 changed files with 4 additions and 9 deletions
@@ -93,13 +93,7 @@
self.lastEventDecriptionLabelTrailingConstraint.constant = self.unsentImageView.hidden ? 10 : 30;
// Notify unreads and bing
if (roomCellData.isRoomMarkedAsUnread)
{
self.missedNotifAndUnreadBadgeBgView.hidden = NO;
self.missedNotifAndUnreadBadgeBgView.backgroundColor = ThemeService.shared.theme.tintColor;
self.missedNotifAndUnreadBadgeBgViewWidthConstraint.constant = 20;
}
else if (roomCellData.hasUnread)
if (roomCellData.hasUnread)
{
self.missedNotifAndUnreadIndicator.hidden = NO;
if (0 < roomCellData.notificationCount)