@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user