|
@ -15,6 +15,7 @@ struct TimelineView: View { |
|
|
|
|
|
|
|
|
var body: some View { |
|
|
var body: some View { |
|
|
ScrollView { |
|
|
ScrollView { |
|
|
|
|
|
LazyVStack { |
|
|
ForEach(events, id: \.id) { (ev: NostrEvent) in |
|
|
ForEach(events, id: \.id) { (ev: NostrEvent) in |
|
|
let evdet = EventDetailView(event: ev, pool: pool) |
|
|
let evdet = EventDetailView(event: ev, pool: pool) |
|
|
.navigationBarTitle("Thread") |
|
|
.navigationBarTitle("Thread") |
|
@ -26,6 +27,7 @@ struct TimelineView: View { |
|
|
.buttonStyle(PlainButtonStyle()) |
|
|
.buttonStyle(PlainButtonStyle()) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
.padding([.leading, .trailing], 6) |
|
|
.padding([.leading, .trailing], 6) |
|
|
.environmentObject(profiles) |
|
|
.environmentObject(profiles) |
|
|
} |
|
|
} |
|
|