mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat(mobile): drift local albums page (#19817)
* feat(mobile): drift local albums page * fix: lint * refactor: use AsyncValue * fix: lint * local album thumbnail --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
e703685d8d
commit
a556de67b0
9 changed files with 294 additions and 13 deletions
|
|
@ -69,6 +69,7 @@ import 'package:immich_mobile/pages/search/search.page.dart';
|
|||
import 'package:immich_mobile/pages/share_intent/share_intent.page.dart';
|
||||
import 'package:immich_mobile/presentation/pages/dev/drift_favorite.page.dart';
|
||||
import 'package:immich_mobile/presentation/pages/dev/drift_partner_detail.page.dart';
|
||||
import 'package:immich_mobile/presentation/pages/dev/drift_local_album.page.dart';
|
||||
import 'package:immich_mobile/presentation/pages/dev/drift_recently_taken.page.dart';
|
||||
import 'package:immich_mobile/presentation/pages/dev/drift_video.page.dart';
|
||||
import 'package:immich_mobile/presentation/pages/dev/drift_trash.page.dart';
|
||||
|
|
@ -438,6 +439,10 @@ class AppRouter extends RootStackRouter {
|
|||
page: DriftRecentlyTakenRoute.page,
|
||||
guards: [_authGuard, _duplicateGuard],
|
||||
),
|
||||
AutoRoute(
|
||||
page: DriftLocalAlbumsRoute.page,
|
||||
guards: [_authGuard, _duplicateGuard],
|
||||
),
|
||||
// required to handle all deeplinks in deep_link.service.dart
|
||||
// auto_route_library#1722
|
||||
RedirectRoute(path: '*', redirectTo: '/'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue