1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-02 05:44:37 +02:00

feat(mobile): handle backup iCloud asset (#5508)

* feat(mobile): handle backup iCloud asset

* additional state

* Download progress

* Added a separate page for backup options

* handle ingore iCloud asset upload'

* fix init backup service

* PR feedback

* fix negative count

* get file title
This commit is contained in:
Alex
2023-12-07 09:53:15 -06:00
committed by GitHub
parent c25556bb08
commit 2e59b07cc6
14 changed files with 730 additions and 503 deletions

View File

@ -371,6 +371,12 @@ class _$AppRouter extends RootStackRouter {
barrierDismissible: false,
);
},
BackupOptionsRoute.name: (routeData) {
return MaterialPageX<dynamic>(
routeData: routeData,
child: const BackupOptionsPage(),
);
},
HomeRoute.name: (routeData) {
return MaterialPageX<dynamic>(
routeData: routeData,
@ -723,6 +729,14 @@ class _$AppRouter extends RootStackRouter {
duplicateGuard,
],
),
RouteConfig(
BackupOptionsRoute.name,
path: '/backup-options-page',
guards: [
authGuard,
duplicateGuard,
],
),
];
}
@ -1664,6 +1678,18 @@ class MapLocationPickerRouteArgs {
}
}
/// generated route for
/// [BackupOptionsPage]
class BackupOptionsRoute extends PageRouteInfo<void> {
const BackupOptionsRoute()
: super(
BackupOptionsRoute.name,
path: '/backup-options-page',
);
static const String name = 'BackupOptionsRoute';
}
/// generated route for
/// [HomePage]
class HomeRoute extends PageRouteInfo<void> {