mirror of
https://github.com/immich-app/immich.git
synced 2025-07-17 20:38:25 +02:00
deps(mobile): flutter 3.16 (#6677)
* dep(mobile): update flutter and deps * chore: dart analyzer * chore: update flutter workflow version * chore: dart format * fix: gallery_viewer PopScope --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
0522058fdf
commit
27488ceb67
116 changed files with 627 additions and 624 deletions
mobile/lib/routing
|
@ -13,7 +13,6 @@ class AuthGuard extends AutoRouteGuard {
|
|||
AuthGuard(this._apiService);
|
||||
@override
|
||||
void onNavigation(NavigationResolver resolver, StackRouter router) async {
|
||||
|
||||
resolver.next(true);
|
||||
|
||||
try {
|
||||
|
|
|
@ -8,7 +8,9 @@ class DuplicateGuard extends AutoRouteGuard {
|
|||
void onNavigation(NavigationResolver resolver, StackRouter router) async {
|
||||
// Duplicate navigation
|
||||
if (resolver.route.name == router.current.name) {
|
||||
debugPrint('DuplicateGuard: Preventing duplicate route navigation for ${resolver.route.name}');
|
||||
debugPrint(
|
||||
'DuplicateGuard: Preventing duplicate route navigation for ${resolver.route.name}',
|
||||
);
|
||||
resolver.next(false);
|
||||
} else {
|
||||
resolver.next(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue