mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: update isOwner condition
This commit is contained in:
parent
e4a34e622a
commit
32501af550
1 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,8 @@ class ViewerTopAppBar extends ConsumerWidget implements PreferredSizeWidget {
|
|||
timelineOrigin != TimelineOrigin.deepLink &&
|
||||
timelineOrigin != TimelineOrigin.trash &&
|
||||
timelineOrigin != TimelineOrigin.archive &&
|
||||
timelineOrigin != TimelineOrigin.localAlbum;
|
||||
timelineOrigin != TimelineOrigin.localAlbum &&
|
||||
isOwner;
|
||||
|
||||
final isShowingSheet = ref.watch(assetViewerProvider.select((state) => state.showingBottomSheet));
|
||||
int opacity = ref.watch(assetViewerProvider.select((state) => state.backgroundOpacity));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue