fix(ui): fix null check error.

Signed-off-by: xsahil03x <xdsahil@gmail.com>
This commit is contained in:
Sahil Kumar
2023-06-20 16:40:47 +05:30
committed by xsahil03x
parent 21dd37c4a7
commit f31deb389c
@@ -76,7 +76,7 @@ class SendingIndicatorBuilder extends StatelessWidget {
Widget child = StreamSendingIndicator(
message: message,
isMessageRead: isMessageRead,
size: style!.fontSize,
size: style?.fontSize,
);
if (isMessageRead) {
@@ -86,7 +86,7 @@ class SendingIndicatorBuilder extends StatelessWidget {
if (memberCount > 2)
Text(
readList.length.toString(),
style: style.copyWith(
style: style?.copyWith(
color: streamChatTheme.colorTheme.accentPrimary,
),
),