-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status bar elements have light theme color when the app launches with theme set to automatic and system wide dark mode is enabled #17
Comments
Weird, Android 10? Hope to receive it asap on my mi A2 Lite so I can have a look into this issue (emulator not working anymore on my PC ...). Thanks for reporting 👌😃 |
Yeah it's Android 10 on Pixel 4 XL. Does your app's dark theme not follow battery saver setting on Android 9 and below? |
It is following battery saver on <= Android 9, like suggested by Google docs:
For some reasons not depending by me it is not working on some MIUI and Xiaomi devices. |
Yeah Xiaomi is known for breaking a lot of standard Android behaviors. Isn't the Mi A2 Lite an Android One phone though so it runs near stock Android right? |
Yes, it is pure Android with few MIUI integrations (mi services, mi remote, mi feedback). |
I tried to change the way I'm checking if night mode is enabled. Could You try if this change fixes the issue? https://drive.google.com/open?id=17ZjAOiFpjg1uCrHeB4KORM1r5e8Tu2vi |
Strange, I was able to reproduce and fix this issue on the emulator https://drive.google.com/open?id=13ivUWr7_j51dgKHjaczt5qcz62CwKwo- |
Another test apk |
Yeah so both of them don't have the bug anymore for me. Thanks for the fix! |
Notice the third time I launch the app with app theme set to automatic, status bar elements are black on dark gray background.
The text was updated successfully, but these errors were encountered: