Fix splash screen when app theme mismatches system theme.

fork-5.53.8
Greyson Parrelli 2022-06-22 09:02:15 -04:00
rodzic 2c779e700d
commit d070ebcd2f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -7,13 +7,13 @@
<!-- Exists for manual override of Splash theme when setting app theme-->
<style name="Theme.Signal.DayNight.NoActionBar.LightSplash" parent="Theme.Signal.DayNight.NoActionBar">
<item name="android:windowSplashScreenBackground">@color/signal_colorBackground</item>
<item name="android:windowSplashScreenBackground">@color/signal_light_colorBackground</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_splash_light</item>
</style>
<!-- Exists for manual override of Splash theme when setting app theme-->
<style name="Theme.Signal.DayNight.NoActionBar.DarkSplash" parent="Theme.Signal.DayNight.NoActionBar">
<item name="android:windowSplashScreenBackground">@color/signal_colorBackground</item>
<item name="android:windowSplashScreenBackground">@color/signal_dark_colorBackground</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_splash_dark</item>
</style>
</resources>