mirror of
https://github.com/immich-app/immich.git
synced 2026-05-26 17:02:36 -04:00
fix: shared album route pass isarId
This commit is contained in:
@@ -213,8 +213,9 @@ class RemoteAlbumViewerPage extends HookConsumerWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
buildTitle(album),
|
||||
if (album.assets.isNotEmpty == true) buildAlbumDateRange(album),
|
||||
if (album.shared) buildSharedUserIconsRow(album),
|
||||
if (album.assets.isNotEmpty) buildAlbumDateRange(album),
|
||||
if (album.shared && album.sharedUsers.isNotEmpty)
|
||||
buildSharedUserIconsRow(album),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ class SharingPage extends HookConsumerWidget {
|
||||
showOwner: true,
|
||||
onTap: () => context.pushRoute(
|
||||
RemoteAlbumViewerRoute(
|
||||
albumId: sharedAlbums[index].modifiedAt.minute,
|
||||
albumId: sharedAlbums[index].isarId,
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -104,7 +104,7 @@ class SharingPage extends HookConsumerWidget {
|
||||
: null,
|
||||
onTap: () => context.pushRoute(
|
||||
RemoteAlbumViewerRoute(
|
||||
albumId: sharedAlbums[index].modifiedAt.second,
|
||||
albumId: sharedAlbums[index].isarId,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user