diff --git a/lib/ui/community/community_views/widgets/chat_card.dart b/lib/ui/community/community_views/widgets/chat_card.dart index a98f368b..7491236b 100644 --- a/lib/ui/community/community_views/widgets/chat_card.dart +++ b/lib/ui/community/community_views/widgets/chat_card.dart @@ -273,7 +273,8 @@ class _ChatCardState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ 32.hb, - widget.model.content!.text.size(32.sp).black.make(), + if(!widget.model.content!.isEmptyOrNull) + widget.model.content!.text.size(32.sp).black.make(), 32.hb, _renderImage(), widget.model.topicTags.isEmpty diff --git a/lib/ui/community/community_views/widgets/chat_card_detail.dart b/lib/ui/community/community_views/widgets/chat_card_detail.dart index 7d5244a2..f2b09a38 100644 --- a/lib/ui/community/community_views/widgets/chat_card_detail.dart +++ b/lib/ui/community/community_views/widgets/chat_card_detail.dart @@ -156,6 +156,7 @@ class _ChatCardDetailState extends State { crossAxisAlignment: CrossAxisAlignment.start, children: [ 32.hb, + if(!widget.model.content!.isEmptyOrNull) widget.model.content!.text .size(28.sp) .color(ktextSubColor)