damus

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

commit cd9bd1b8926c48df746cbde116c50ce1cb9a81bd
parent 366e3565d17b4c41e69b23f970d2d1e3129895fd
Author: William Casarin <jb55@jb55.com>
Date:   Sat,  6 Aug 2022 19:23:37 -0700

less animation in chat

Changelog-Changed: Don't animate scroll in chat view
Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/EventDetailView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 {