High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: jump to timeline on new auto_router update (#28022)
Alex03b70cf029e3
diff --git a/mobile/lib/presentation/widgets/memory/memory_bottom_info.widget.dart b/mobile/lib/presentation/widgets/memory/memory_bottom_info.widget.dartindex b514f9f0a5..9eb7792fb4 100644--- a/mobile/lib/presentation/widgets/memory/memory_bottom_info.widget.dart+++ b/mobile/lib/presentation/widgets/memory/memory_bottom_info.widget.dart@@ -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(),diff --git a/mobile/lib/utils/action_button.utils.dart b/mobile/lib/utils/action_button.utils.dartindex 2aad2f264a..3edc50c847 100644--- a/mobile/lib/utils/action_button.utils.dart+++ b/mobile/lib/utils/action_button.utils.dart@@ -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));},),