fix: Use extraLarge shape for the toast message container
This commit is contained in:
parent
c662c8378c
commit
5f8a65cc8f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue