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

View File

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