From cd9bd1b8926c48df746cbde116c50ce1cb9a81bd Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 6 Aug 2022 19:23:37 -0700 Subject: [PATCH] less animation in chat Changelog-Changed: Don't animate scroll in chat view Signed-off-by: William Casarin --- damus/Views/EventDetailView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/EventDetailView.swift b/damus/Views/EventDetailView.swift index a50949f4..a37fb537 100644 --- a/damus/Views/EventDetailView.swift +++ b/damus/Views/EventDetailView.swift @@ -52,7 +52,7 @@ struct EventDetailView: View { print("uncollapsing section at \(c.start) '\(ev.content.prefix(12))...'") let start_id = ev.id - toggle_collapse_thread(scroller: scroller, id: start_id, animate: true, anchor: .top) + toggle_collapse_thread(scroller: scroller, id: start_id, animate: false, anchor: .top) } func CollapsedEventView(_ cev: CollapsedEvent, scroller: ScrollViewProxy) -> some View {