Shared element, not shared bounds
This commit is contained in:
parent
6793047577
commit
d87c582dda
@ -48,7 +48,7 @@ fun SearchResultGrid(
|
|||||||
if (item != null) {
|
if (item != null) {
|
||||||
GridItem(
|
GridItem(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.sharedBounds(
|
.sharedElement(
|
||||||
rememberSharedContentState(item.key),
|
rememberSharedContentState(item.key),
|
||||||
this@AnimatedContent,
|
this@AnimatedContent,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user