views: allow embeddable views at top of timeline

This allows you to put stuff at the top of a timeline inside the scroll
view. We could also remove the scrollview from the timeline
eventually... but this works for now.
This commit is contained in:
William Casarin
2023-07-13 06:50:21 -07:00
parent 7123b225a1
commit c0f9b0a8c0
4 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ struct SearchHomeView: View {
}
var GlobalContent: some View {
return TimelineView(
return TimelineView<AnyView>(
events: model.events,
loading: $model.loading,
damus: damus_state,