fix(mobile): stack row blocking gestures and not showing up (#21854)

This commit is contained in:
Mert
2025-09-18 02:16:14 -04:00
committed by GitHub
parent 28e9892ed3
commit 9ae42106cc
6 changed files with 121 additions and 86 deletions
@@ -40,13 +40,12 @@ class AssetService {
Future<List<RemoteAsset>> getStack(RemoteAsset asset) async {
if (asset.stackId == null) {
return [];
return const [];
}
return _remoteAssetRepository.getStackChildren(asset).then((assets) {
// Include the primary asset in the stack as the first item
return [asset, ...assets];
});
final stack = await _remoteAssetRepository.getStackChildren(asset);
// Include the primary asset in the stack as the first item
return [asset, ...stack];
}
Future<ExifInfo?> getExif(BaseAsset asset) async {