Anyone had any experience of this https://en.miui.com/ and Compose?
Specifically, when a phone is in dark mode, and the effect that has on MaterialTheme colours?
This is my tester's problem on a MIUI device with Android 10. And it's doesn't consistently happen.
(No other testers have this problem)
"this is not shown",
color = MaterialTheme.colors.onSurface,
"but this is shown,
color = MaterialTheme.colors.onSurface.copy(alpha = 0.6f),
08/27/2021, 11:55 AM
The tester probably has force dark mode option enabled. It's enabled for all apps by default and seems to cause weird visibility behavior in compose apps.
08/27/2021, 12:51 PM
Yeah. It's a Xiaomi phone. Do you know if the Compose people are looking into this at all?