mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
refactor(mobile): app bar (#4687)
* refactor(mobile): add app bar to library and sharing * mobile: add app bar dialog * fix(mobile): refetch profile image only when path is changed * mobile: add server url to dialog * mobile: move trash to library app bar * replace discord link with github * user confirmation before sign out * edit some styles --------- Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
603b056512
commit
9f56bf0ab9
17 changed files with 781 additions and 624 deletions
mobile/lib/routing
|
@ -231,12 +231,9 @@ class _$AppRouter extends RootStackRouter {
|
|||
);
|
||||
},
|
||||
AppLogRoute.name: (routeData) {
|
||||
return CustomPage<dynamic>(
|
||||
return MaterialPageX<dynamic>(
|
||||
routeData: routeData,
|
||||
child: const AppLogPage(),
|
||||
transitionsBuilder: TransitionsBuilders.slideBottom,
|
||||
opaque: true,
|
||||
barrierDismissible: false,
|
||||
);
|
||||
},
|
||||
AppLogDetailRoute.name: (routeData) {
|
||||
|
@ -583,6 +580,7 @@ class _$AppRouter extends RootStackRouter {
|
|||
RouteConfig(
|
||||
AppLogRoute.name,
|
||||
path: '/app-log-page',
|
||||
guards: [duplicateGuard],
|
||||
),
|
||||
RouteConfig(
|
||||
AppLogDetailRoute.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue