File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/java/to/bitkit/ui/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ import androidx.compose.foundation.layout.height
1919import androidx.compose.foundation.layout.padding
2020import androidx.compose.foundation.layout.size
2121import androidx.compose.foundation.layout.systemBarsPadding
22- import androidx.compose.foundation.shape.RoundedCornerShape
2322import androidx.compose.material.icons.Icons
2423import androidx.compose.material.icons.filled.Close
2524import androidx.compose.material3.Icon
2625import androidx.compose.material3.IconButton
26+ import androidx.compose.material3.MaterialTheme
2727import androidx.compose.runtime.Composable
2828import androidx.compose.runtime.ReadOnlyComposable
2929import androidx.compose.ui.Alignment
@@ -52,7 +52,7 @@ fun ToastView(
5252 .fillMaxWidth()
5353 .systemBarsPadding()
5454 .padding(horizontal = 16 .dp)
55- .background(tintColor.copy(alpha = 0.32f ), RoundedCornerShape ( 8 .dp) )
55+ .background(tintColor.copy(alpha = 0.32f ), shape = MaterialTheme .shapes.medium )
5656 .padding(16 .dp)
5757 .then(toast.testTag?.let { Modifier .testTag(it) } ? : Modifier ),
5858 ) {
You can’t perform that action at this time.
0 commit comments