mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: jump to timeline on new auto_router update (#28022)
This commit is contained in:
parent
4bfb8b36c2
commit
03b70cf029
2 changed files with 2 additions and 4 deletions
|
|
@ -271,8 +271,7 @@ enum ActionButtonType {
|
|||
onPressed: buildContext == null
|
||||
? null
|
||||
: () async {
|
||||
await buildContext.maybePop();
|
||||
await buildContext.navigateTo(const TabShellRoute(children: [MainTimelineRoute()]));
|
||||
await buildContext.router.navigate(const TabShellRoute(children: [MainTimelineRoute()]));
|
||||
EventStream.shared.emit(ScrollToDateEvent(context.asset.createdAt));
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue