fix: jump to timeline on new auto_router update (#28022)

This commit is contained in:
Alex
2026-04-22 10:21:48 -05:00
committed by GitHub
parent 4bfb8b36c2
commit 03b70cf029
2 changed files with 2 additions and 4 deletions
@@ -40,8 +40,7 @@ class DriftMemoryBottomInfo extends StatelessWidget {
child: MaterialButton(
minWidth: 0,
onPressed: () async {
await context.maybePop();
await context.navigateTo(const TabShellRoute(children: [MainTimelineRoute()]));
await context.router.navigate(const TabShellRoute(children: [MainTimelineRoute()]));
EventStream.shared.emit(ScrollToDateEvent(fileCreatedDate));
},
shape: const CircleBorder(),