Improved visual composition for threads

Changelog-Changed: Improve visual composition of threads
This commit is contained in:
Thomas
2022-12-25 17:31:58 +01:00
committed by William Casarin
parent 538ce45c2c
commit d1cbf74840
14 changed files with 564 additions and 50 deletions

View File

@@ -166,8 +166,7 @@ struct ContentView: View {
var MaybeThreadView: some View {
Group {
if let evid = self.active_event_id {
let thread_model = ThreadModel(evid: evid, damus_state: damus_state!)
ThreadView(thread: thread_model, damus: damus_state!, is_chatroom: false)
BuildThreadV2View(damus: damus_state!, event_id: evid)
} else {
EmptyView()
}