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 GitHub
parent f16327d0ab
commit 882baecf21

View File

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