minor changes

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
xsahil03x
2020-11-27 17:32:08 +05:30
parent 3dd994d207
commit fa5b4ebab8
+2 -2
View File
@@ -49,7 +49,7 @@ class MessageSearchItem extends StatelessWidget {
user.id == StreamChat.of(context).user.id ? 'You' : user.name, user.id == StreamChat.of(context).user.id ? 'You' : user.name,
style: StreamChatTheme.of(context).channelPreviewTheme.title, style: StreamChatTheme.of(context).channelPreviewTheme.title,
), ),
if (channelName != null) if (channelName != null) ...[
Text( Text(
' in ', ' in ',
style: StreamChatTheme.of(context) style: StreamChatTheme.of(context)
@@ -59,11 +59,11 @@ class MessageSearchItem extends StatelessWidget {
fontWeight: FontWeight.normal, fontWeight: FontWeight.normal,
), ),
), ),
if (channelName != null)
Text( Text(
channelName, channelName,
style: StreamChatTheme.of(context).channelPreviewTheme.title, style: StreamChatTheme.of(context).channelPreviewTheme.title,
), ),
],
], ],
), ),
subtitle: Row( subtitle: Row(