Make cancel buttons background color in dialog transparent

This commit is contained in:
vfsfitvnm
2022-07-04 22:11:16 +02:00
parent 36bf5b17a6
commit ae00f8ea3d
2 changed files with 5 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.BasicText
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.painterResource
@@ -156,7 +157,7 @@ fun PlayerSettingsScreen() {
.fillMaxWidth()
) {
ChunkyButton(
backgroundColor = colorPalette.lightBackground,
backgroundColor = Color.Transparent,
text = "Cancel",
textStyle = typography.xs.semiBold,
shape = RoundedCornerShape(36.dp),