event mentions working

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-05-07 17:48:00 -07:00
parent 0ad17c05fe
commit 4db06b015c
10 changed files with 175 additions and 27 deletions

View File

@@ -72,7 +72,7 @@ struct EventDetailView: View {
case .event(let ev, let highlight):
EventView(event: ev, highlight: highlight, has_action_bar: true, damus: damus)
.onTapGesture {
if thread.event.id == ev.id {
if thread.initial_event.id == ev.id {
toggle_thread_view()
} else {
thread.set_active_event(ev)