Show zap comments in threads and show top zap

Changelog-Added: Top zaps
Changelog-Added: Show zap comments in threads
This commit is contained in:
William Casarin
2023-06-09 10:10:33 +02:00
parent 8f237b47eb
commit 043eb5b436
19 changed files with 258 additions and 140 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ struct ZapsView: View {
var body: some View {
ScrollView {
LazyVStack {
ForEach(zaps.zaps, id: \.request.id) { zap in
ZapEvent(damus: state, zap: zap)
ForEach(zaps.zaps, id: \.request.ev.id) { zap in
ZapEvent(damus: state, zap: zap, is_top_zap: false)
.padding([.horizontal])
}
}