Minor ui fixes

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-13 18:21:02 +05:30
parent 3b0c2a9a73
commit ab29edd89e
4 changed files with 56 additions and 45 deletions
+1 -1
View File
@@ -783,7 +783,7 @@ class _MessageListViewState extends State<MessageListView> {
final allRead = readList.length >= (channel.memberCount ?? 0) - 1;
final hasFileAttachment =
message.attachments.any((it) => it.type == 'file');
message.attachments?.any((it) => it.type == 'file') == true;
final isThreadMessage =
message?.parentId != null && message?.showInChannel == true;