update unread indicator
This commit is contained in:
@@ -17,10 +17,13 @@ class UnreadIndicator extends StatelessWidget {
|
|||||||
child: CircleAvatar(
|
child: CircleAvatar(
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
StreamChatTheme.of(context).channelPreviewTheme.unreadCounterColor,
|
StreamChatTheme.of(context).channelPreviewTheme.unreadCounterColor,
|
||||||
radius: 6,
|
radius: 8,
|
||||||
child: Text(
|
child: Text(
|
||||||
'${channel.state.unreadCount}',
|
'${channel.state.unreadCount}',
|
||||||
style: TextStyle(fontSize: 8),
|
style: TextStyle(
|
||||||
|
fontSize: 11,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user