Fix chatroom cruft

Changelog-Fixed: Fixed various issues with chatroom view
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-08-09 16:09:12 -07:00
parent 9420a7a0ad
commit 1ab42b4c5c
3 changed files with 7 additions and 4 deletions

View File

@@ -60,11 +60,14 @@ struct EventDetailView: View {
switch cev {
case .collapsed(let c):
Text("··· \(c.count) other notes ···")
.padding([.top,.bottom], 10)
.font(.footnote)
.foregroundColor(.gray)
.onTapGesture {
//self.uncollapse_section(scroller: proxy, c: c)
//self.toggle_collapse_thread(scroller: proxy, id: nil)
let ev = thread.events[c.start]
thread.set_active_event(ev, privkey: damus.keypair.privkey)
toggle_thread_view()
}
case .event(let ev, let highlight):