update unread count
This commit is contained in:
@@ -813,12 +813,13 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
if (isMessageRead) {
|
if (isMessageRead) {
|
||||||
child = Row(
|
child = Row(
|
||||||
children: [
|
children: [
|
||||||
Text(
|
if (StreamChannel.of(context).channel.memberCount > 2)
|
||||||
widget.readList.length.toString(),
|
Text(
|
||||||
style: style.copyWith(
|
widget.readList.length.toString(),
|
||||||
color: StreamChatTheme.of(context).colorTheme.accentBlue,
|
style: style.copyWith(
|
||||||
|
color: StreamChatTheme.of(context).colorTheme.accentBlue,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
SizedBox(width: 2),
|
SizedBox(width: 2),
|
||||||
child,
|
child,
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user