UnreadCountIndicator

fun UnreadCountIndicator(unreadCount: Int, modifier: Modifier = Modifier, color: Color = ChatTheme.colors.errorAccent)

Shows the unread count badge for each channel item, to showcase how many messages the user didn't read.

Parameters

unreadCount

The number of messages the user didn't read.

modifier

Modifier for styling.