question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dark mode is enabled even if light mode was selected

See original GitHub issue

Home Assistant Android version: 2.2.0

Android version: 10

Phone model: Google Pixel 3

Home Assistant version: 0.114.1

Last working Home Assistant release (if known): None

Description of problem: Dark mode is enabled even if light mode was selected

Traceback (if applicable):


Screenshot of problem: Screenshot_20200816-122502

Additional information:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
seanb-ukcommented, Aug 16, 2020

Just tested the debug APK - looks good:

  1. Phone theme dark, profile theme light, app theme system default - HA interface is light, app menu remains dark, as expected - respects profile theme for the main interface, but the app itself has dark theme.

  2. Phone theme dark, profile theme auto, app theme system default - both HA and app menu are dark, as expected.

  3. Phone theme dark, profile theme auto, app theme light - all elements light, as expected.

Impressed with how quickly this has been sorted out, all looks good to me.

1reaction
dshokouhicommented, Aug 16, 2020

theres a debug APK that can be tested now 😃

https://github.com/home-assistant/android/actions/runs/211188422

it installs as a separate app for quick tests like this…just remember logging into HA will create a new integration with the name of your device but once you install the app just remove that new integration…so make sure you know the name of it…if you rename your existing one it will be easier to tell the difference

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I turn off dark mode if I don't have options to turn on ...
The easy steps on how to turn off dark mode options if you do not see them. ... Open the Choose your mode...
Read more >
How to Enable or Disable Dark Mode for All the Major Google ...
Start by opening the Google Play Store app, then tap on the profile icon in the upper right-hand corner. · In the menu,...
Read more >
How to turn on dark mode on all your apps and devices
Press and hold on the brightness slider and tap 'Appearance' on the bottom left to switch between light and dark modes as you...
Read more >
How to disable night mode in my application even if night ...
Another solution I think is that you can have a Light theme, and put it in both style.xml in the values and values-night...
Read more >
How to Always Use Dark Mode or Light Mode for Any App on ...
Option 1Use Override Switches for Individual Apps​​ So if you set an app to Light Mode only and Dark Mode is currently on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found