fix: bottom sheet blank with local assets that have remote counterparts (#22743)

This commit is contained in:
Brandon Wees 2025-10-07 13:04:23 -05:00 committed by Chaoscontrol
parent c2b95efa26
commit 1f512d9a0c

View file

@ -51,7 +51,7 @@ class AssetDetailBottomSheet extends ConsumerWidget {
isArchived: isArchived, isArchived: isArchived,
isTrashEnabled: isTrashEnable, isTrashEnabled: isTrashEnable,
isInLockedView: isInLockedView, isInLockedView: isInLockedView,
isStacked: asset.hasRemote && (asset as RemoteAsset).stackId != null, isStacked: asset is RemoteAsset && asset.stackId != null,
currentAlbum: currentAlbum, currentAlbum: currentAlbum,
advancedTroubleshooting: advancedTroubleshooting, advancedTroubleshooting: advancedTroubleshooting,
source: ActionSource.viewer, source: ActionSource.viewer,