Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ismai117 authored Mar 26, 2024
1 parent dcb010c commit dd89d07
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,18 @@ val animationState by animateKottieCompositionAsState(
MaterialTheme {

Column(
modifier = modifier.fillMaxSize(),
modifier = modifier
.fillMaxSize()
.background(MaterialTheme.colorScheme.onSurfaceVariant),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.Center
) {

KottieAnimation(
composition = composition,
progress = { animationState.progress },
modifier = modifier
.size(300.dp)
modifier = modifier.size(300.dp),
backgroundColor = MaterialTheme.colorScheme.onSurfaceVariant
)

Button(
Expand Down

0 comments on commit dd89d07

Please sign in to comment.