https://kotlinlang.org logo
#compose
Title
# compose
y

Yashovardhan

08/02/2020, 8:56 AM
Checkbox has this weird white dot in the center when using dark theme colour pallete. It works fine otherwise. It even looks fine with the light theme colours.
Here's the code for the checkbox:-
Copy code
Checkbox(
    checked = task.isChecked, onCheckedChange = {
        taskHandler.checkItem(task)
    }, color = MaterialTheme.colors.secondary,
    modifier = Modifier.gravity(Alignment.CenterVertically)
)
And the theme is a simple MaterialTheme with
colors = darkColorPalette()
n

Nader Jawad

08/02/2020, 7:05 PM
Which version of compose are you running? Looks similar to an issue we had in an earlier dev release
y

Yashovardhan

08/03/2020, 7:12 AM
I'm on dev13 right now
m

matvei

08/03/2020, 9:59 AM
Checkbox appearance and animations has been reworked in dev14, starting from dev14 this should not be the case 🙂 Please, let me know if you still can see it after the update
y

Yashovardhan

08/03/2020, 12:17 PM
Thanks! It got fixed with dev14
👍 2
2 Views