Skip to content
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

OLED Black theme not honored on app startup #27

Open
ghost opened this issue May 16, 2022 · 1 comment
Open

OLED Black theme not honored on app startup #27

ghost opened this issue May 16, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented May 16, 2022

When you first open the app the app theme is Dark for a split second, even when the theme OLED Black is set. This is only visible on app startup from a non-running state.

@sal0max
Copy link
Owner

sal0max commented May 18, 2022

Yeah, I don't think that's something one can do anything about.

This is how it works. There are 2 themes, which both support light/dark:

  1. One features the default light mode and the default dark mode.
  2. The second includes the exact same light mode and the black mode.

The first one is the default theme. It is defined in the AndroidManifest.xml. This one will always be loaded first.
Only during onCreate(), the second theme (with black) will be set programmatically, if needed.

There's nothing I can think of, how to set the black theme at an earlier stage. It's by design.

If you got ideas, you're welcome to share. Otherwise, this issue can't be resolved.

@sal0max sal0max added the help wanted Extra attention is needed label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant