Shared element, not shared bounds

This commit is contained in:
MM20 2024-05-17 12:39:31 +02:00
parent 6793047577
commit d87c582dda
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -48,7 +48,7 @@ fun SearchResultGrid(
if (item != null) {
GridItem(
modifier = Modifier
.sharedBounds(
.sharedElement(
rememberSharedContentState(item.key),
this@AnimatedContent,
)