Use a view controller for the timeline. (#359)

This exposes lifecycle methods and tidies up the Coordinator.
This commit is contained in:
Doug
2022-12-12 11:21:43 +00:00
committed by GitHub
parent cd40da6c3f
commit 1791993560
6 changed files with 541 additions and 488 deletions
@@ -32,7 +32,7 @@ struct RoomScreen: View {
}
var timeline: some View {
TimelineTableView()
TimelineView()
.id(context.viewState.roomId)
.environmentObject(context)
.timelineStyle(settings.timelineStyle)