feat: tag zap goals

This commit is contained in:
2025-05-13 12:20:59 +01:00
parent f1e518a0d7
commit 3e18f7544e
4 changed files with 109 additions and 49 deletions

View File

@ -120,6 +120,13 @@ class _StreamPage extends State<StreamPage> {
return ZapWidget(
pubkey: widget.stream.info.host,
target: widget.stream.event,
zapTags:
// tag goal onto zap request
widget.stream.info.goal != null
? [
["e", widget.stream.info.goal!],
]
: null,
);
},
);