Skip to content

Commit

Permalink
Remove WildCard import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali committed Sep 23, 2024
1 parent 22cada7 commit cf8e7dc
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
package com.sample.tmdb.paging.search

import androidx.compose.animation.core.*
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.RepeatMode
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.infiniteRepeatable
import androidx.compose.animation.core.rememberInfiniteTransition
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.MaterialTheme
Expand Down Expand Up @@ -88,7 +93,7 @@ private fun scaleInfiniteTransition(
targetValue: Float,
durationMillis: Int,
): Float {
val infiniteTransition = rememberInfiniteTransition()
val infiniteTransition = rememberInfiniteTransition(label = "")
val scale: Float by infiniteTransition.animateFloat(
initialValue = initialValue,
targetValue = targetValue,
Expand All @@ -97,6 +102,7 @@ private fun scaleInfiniteTransition(
animation = tween(durationMillis, easing = LinearEasing),
repeatMode = RepeatMode.Reverse,
),
label = "",
)
return scale
}

0 comments on commit cf8e7dc

Please sign in to comment.