damus

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

commit 647495dbc0f9131f6d1e5727c4ba679b2e649919
parent 826fd1ef33feb6486025647600b94819cb1a124e
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 20 Feb 2023 14:58:10 -0800

Fix bug where feed sometimes gets reset to realtime when scrolling

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

diff --git a/damus/Views/TimelineView.swift b/damus/Views/TimelineView.swift @@ -29,7 +29,7 @@ struct TimelineView: View { func handle_scroll(_ proxy: GeometryProxy) { let offset = -proxy.frame(in: .named("scroll")).origin.y - guard offset != -0.0 else { + guard offset >= 0 else { return } self.events.should_queue = offset > 0