From b7764d82c9cbc35e8df04ab64cc53ad295308b14 Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 30 May 2025 17:06:29 +0100 Subject: [PATCH] fix: zap comments missing --- lib/widgets/chat_zap.dart | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/widgets/chat_zap.dart b/lib/widgets/chat_zap.dart index fc33acc..4b2475b 100644 --- a/lib/widgets/chat_zap.dart +++ b/lib/widgets/chat_zap.dart @@ -27,7 +27,19 @@ class ChatZapWidget extends StatelessWidget { crossAxisAlignment: CrossAxisAlignment.start, children: [ _zapperRowZap(context, parsed), - if (parsed.comment?.isNotEmpty ?? false) NoteText(event: zap), + if (parsed.comment?.isNotEmpty ?? false) + RichText( + text: TextSpan( + children: textToSpans( + context, + parsed.comment ?? "", + [], + parsed.sender ?? "", + showEmbeds: false, + embedMedia: false, + ), + ), + ), ], ), );