mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-15 11:48:21 +00:00
fix: zap comments missing
This commit is contained in:
@ -27,7 +27,19 @@ class ChatZapWidget extends StatelessWidget {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
_zapperRowZap(context, parsed),
|
_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,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user