mirror of
https://github.com/immich-app/immich.git
synced 2026-03-22 12:19:24 +03:00
fix(mobile): don't pop when opening albums
The asset viewer closes when opening an album from the asset details. This doesn't seem desirable, and it likely a side-effect from the previous pop behaviour which would close just the bottom sheet, and not the asset viewer.
This commit is contained in:
@@ -60,8 +60,7 @@ class AppearsInDetails extends ConsumerWidget {
|
||||
album: album,
|
||||
isOwner: isOwner,
|
||||
onAlbumSelected: (album) async {
|
||||
ref.invalidate(assetViewerProvider);
|
||||
unawaited(context.router.popAndPush(RemoteAlbumRoute(album: album)));
|
||||
unawaited(context.router.push(RemoteAlbumRoute(album: album)));
|
||||
},
|
||||
);
|
||||
}).toList(),
|
||||
|
||||
Reference in New Issue
Block a user