android: add QS Tile to change Noise Control Mode

This commit is contained in:
Kavish Devar
2024-10-19 19:48:12 +05:30
parent a8de72f190
commit 745040be2b
10 changed files with 190 additions and 136 deletions

View File

@@ -729,10 +729,6 @@ fun NoiseControlButton(
}
}
enum class NoiseControlMode {
OFF, NOISE_CANCELLATION, TRANSPARENCY, ADAPTIVE
}
@Composable
fun StyledSwitch(
checked: Boolean,
@@ -802,7 +798,6 @@ fun StyledTextField(
color = textColor
)
)
BasicTextField(
value = value,
onValueChange = onValueChange,
@@ -810,6 +805,7 @@ fun StyledTextField(
color = textColor,
fontSize = 16.sp,
),
singleLine = true,
cursorBrush = SolidColor(cursorColor), // Dynamic cursor color based on focus
decorationBox = { innerTextField ->
Row(