Browse Source

less animation in chat

Changelog-Changed: Don't animate scroll in chat view
Signed-off-by: William Casarin <jb55@jb55.com>
profile-edit
William Casarin 2 years ago
parent
commit
cd9bd1b892
  1. 2
      damus/Views/EventDetailView.swift

2
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 {

Loading…
Cancel
Save