Skip to content

Commit

Permalink
fix: animation issue in task component
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal2376 committed Apr 4, 2024
1 parent b2c24b3 commit b461e48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ android {
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
signingConfig = signingConfigs.getByName("debug")
}

debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fun TaskComponent(
animDelay: Int = 100
) {

val alphaAnimation = remember { Animatable(initialValue = 1f) }
val alphaAnimation = remember { Animatable(initialValue = 0f) }

LaunchedEffect(animDelay) {
alphaAnimation.animateTo(targetValue = 1f, animationSpec = tween(1000, animDelay))
Expand Down

0 comments on commit b461e48

Please sign in to comment.