damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | LICENSE

commit c9d3ed361f4adf3ce011433b6ae9911c6e986052
parent 392af009f86810a476d67afcf23a9fcbba715b1a
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 17 Apr 2022 14:24:51 -0700

collapse the thread when a note is selected

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/EventDetailView.swift | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/damus/Views/EventDetailView.swift b/damus/Views/EventDetailView.swift @@ -112,6 +112,9 @@ struct EventDetailView: View { if !(self.collapsed && highlight.is_none) { EventView(event: ev, highlight: collapsed ? .none : highlight, has_action_bar: true) .onTapGesture { + if !collapsed { + toggle_collapse_thread(scroller: proxy, id: ev.id) + } self.event = ev } }