chore(dep): update auto_route (#6390)

* chore(dep): update auto_route

* chore: rebase main

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2024-01-15 16:50:33 +00:00
committed by GitHub
parent 984feafb90
commit ba5cca9348
48 changed files with 1473 additions and 1646 deletions

View File

@@ -90,7 +90,7 @@ class ChangePasswordForm extends HookConsumerWidget {
.clearAllAsset();
ref.read(websocketProvider.notifier).disconnect();
AutoRouter.of(context).navigateBack();
AutoRouter.of(context).back();
ImmichToast.show(
context: context,
@@ -111,7 +111,7 @@ class ChangePasswordForm extends HookConsumerWidget {
),
TextButton.icon(
icon: const Icon(Icons.arrow_back),
onPressed: () => AutoRouter.of(context).navigateBack(),
onPressed: () => AutoRouter.of(context).back(),
label: const Text('Back'),
),
],