commit b3588b9d610ae70943d6d66f12c39594cd06a00c
parent b72047237a984b1f9294c55f55cabe84a19b8b26
Author: William Casarin <jb55@jb55.com>
Date: Mon, 18 Apr 2022 14:52:54 -0700
slower animation on appear
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Views/EventDetailView.swift b/damus/Views/EventDetailView.swift
@@ -117,7 +117,7 @@ struct EventDetailView: View {
if ev.id == event.id {
EventView(event: ev, highlight: .main, has_action_bar: true)
.onAppear() {
- scroll_to_event(scroller: proxy, id: ev.id, delay: 0.3, animate: true)
+ scroll_to_event(scroller: proxy, id: ev.id, delay: 0.5, animate: true)
}
.onTapGesture {
let any = any_collapsed(collapsed_events)