From 882baecf21d0db86760b36478ad356fb61bd7e78 Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Tue, 7 Oct 2025 13:04:23 -0500 Subject: [PATCH] fix: bottom sheet blank with local assets that have remote counterparts (#22743) --- .../presentation/widgets/asset_viewer/bottom_sheet.widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet.widget.dart index 39f8e5ae69..bdd7fb9b48 100644 --- a/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet.widget.dart +++ b/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet.widget.dart @@ -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,