commit 386bae64ca77eaa509ff5afbd962314a316132ca
parent 4b5c2172133f0dfe44226131a09cbab16b30c2a7
Author: William Casarin <jb55@jb55.com>
Date: Sun, 26 Feb 2023 15:46:17 -0800
scroll coordinate space
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Views/Notifications/NotificationsView.swift b/damus/Views/Notifications/NotificationsView.swift
@@ -30,6 +30,7 @@ struct NotificationsView: View {
})
.padding(.horizontal)
}
+ .coordinateSpace(name: "scroll")
.onReceive(handle_notify(.scroll_to_top)) { notif in
let _ = notifications.flush()
self.notifications.should_queue = false