android/nowinandroid

[Bug]: Splashscreen theme doesn't change after switching the color theme

Open

#633 geöffnet am 22. März 2023

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Kotlin (4.404 Forks)batch import
buggood first issuehelp wanted

Repository-Metriken

Stars
 (21.223 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Is there an existing issue for this?

  • I have searched the existing issues

Is there a StackOverflow question about this issue?

  • I have searched StackOverflow

What happened?

Changing the theme from the application settings does not update the theme used on the splash screen.

Steps to reproduce:

  • When using a light system theme
  • Tap on the settings icon and set the application theme to dark
  • Close the application, start it again (with the cold start) and note the splash screen

Expected result: Splash screen should be in dark mode

Actual result: Light splash screen switches to a dark screen of the application.

I think that UiModeManager#setApplicationNightMode should also be called on saving the theme settings as it is described in "Implement dark theme"

Relevant logcat output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributor Guide