fix: don't reset scroll position when switching toolbar

Closes: https://github.com/damus-io/notedeck/issues/1140

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-09-11 18:12:57 -04:00
parent 559e9577fc
commit ca67977b82

View File

@@ -31,7 +31,6 @@ pub fn render_timeline_route(
| TimelineKind::Generic(_) => {
let note_action =
ui::TimelineView::new(kind, timeline_cache, note_context, note_options, jobs, col)
.scroll_to_top(scroll_to_top)
.ui(ui);
note_action.map(RenderNavAction::NoteAction)