Compare commits

...

1 Commits

Author SHA1 Message Date
Thomas Way
b68c442356 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.
2026-02-20 21:21:03 +00:00

View File

@@ -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(),