mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
front end: qualify the play badge's AnimatedVisibility (the Column scope stole the overload)
This commit is contained in:
1 parent
19514c32b8
commit
7ddfb57610
1 file changed
+3
-2
@@ -794,8 +794,9 @@ private fun GameTile(t: Tile, wide: Boolean, square: Boolean, src: MutableIntera
|
||||
) {
|
||||
Box(modifier = Modifier.fillMaxWidth().shine(hot)) {
|
||||
Art(t.art, t.iconRes, t.title, Modifier.fillMaxWidth(), wide)
|
||||
AnimatedVisibility(
|
||||
hot, modifier = Modifier.align(Alignment.Center),
|
||||
// Qualified: the enclosing Column would otherwise pick its scoped overload.
|
||||
androidx.compose.animation.AnimatedVisibility(
|
||||
visible = hot, modifier = Modifier.align(Alignment.Center),
|
||||
enter = scaleIn(Motion.sp(0.5f), initialScale = 0.5f) + fadeIn(Motion.tw(200)),
|
||||
exit = scaleOut(Motion.tw(150), targetScale = 0.6f) + fadeOut(Motion.tw(150)),
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user