fix: Use extraLarge shape for the toast message container

This commit is contained in:
Artem Chepurnoy 2024-01-08 15:46:34 +02:00
parent c662c8378c
commit 5f8a65cc8f
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.CheckCircle
import androidx.compose.material.icons.outlined.ErrorOutline
@ -225,7 +226,7 @@ private fun ToastMessage(model: ToastMessage) {
Row(
modifier = Modifier
.fillMaxWidth()
.clip(CircleShape)
.clip(MaterialTheme.shapes.extraLarge)
.background(containerColor)
.padding(
horizontal = 8.dp,