File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
app/src/main/java/to/bitkit/ui/screens/wallets/sheets Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import androidx.compose.ui.res.stringResource
2525import androidx.compose.ui.tooling.preview.Preview
2626import androidx.compose.ui.unit.dp
2727import com.airbnb.lottie.compose.LottieAnimation
28+ import com.airbnb.lottie.compose.LottieClipSpec
2829import com.airbnb.lottie.compose.LottieCompositionSpec
2930import com.airbnb.lottie.compose.rememberLottieComposition
3031import to.bitkit.R
@@ -106,7 +107,11 @@ private fun NewTransactionSheetView(
106107 LottieCompositionSpec .RawRes (R .raw.confetti_purple)
107108 }
108109 )
109- LottieAnimation (composition, modifier = Modifier .fillMaxSize())
110+ LottieAnimation (
111+ composition = composition,
112+ contentScale = ContentScale .FillBounds ,
113+ modifier = Modifier .fillMaxSize()
114+ )
110115
111116 Column (
112117 horizontalAlignment = Alignment .CenterHorizontally ,
You can’t perform that action at this time.
0 commit comments