Highlight the badge when there is pending space invite

This commit is contained in:
Maxime NATUREL 2023-02-22 15:04:14 +01:00
parent 1b0265662d
commit af4ab41851
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ class NewHomeDetailFragment :
} else { } else {
UnreadCounterBadgeView.State.Count( UnreadCounterBadgeView.State.Count(
count = spacesNotificationCount.notificationCount, count = spacesNotificationCount.notificationCount,
highlighted = spacesNotificationCount.isHighlight, highlighted = spacesNotificationCount.isHighlight || hasPendingSpaceInvites,
) )
} }
views.spacesUnreadCounterBadge.render(badgeState) views.spacesUnreadCounterBadge.render(badgeState)