fix splash screen color

This commit is contained in:
Matthieu 2022-07-10 15:10:35 +02:00
parent 0e811fe43a
commit 696959214f
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class PixelDroidApplication: Application() {
.build() .build()
mApplicationComponent.inject(this) mApplicationComponent.inject(this)
//TODO put condition depending on setting //TODO put condition depending on setting to apply dynamic colours (android 12+)
if(false) DynamicColors.applyToActivitiesIfAvailable(this) if(false) DynamicColors.applyToActivitiesIfAvailable(this)
} }

View File

@ -3,6 +3,8 @@
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="AppTheme.Launcher"> <style name="AppTheme.Launcher">
<item name="android:windowBackground">@drawable/theme</item> <item name="android:windowBackground">@drawable/theme</item>
<item name="colorPrimaryDark">?android:attr/colorBackground</item>
</style> </style>
<style name="AppTheme.PopupOverlay" parent="Theme.Material3.Light" /> <style name="AppTheme.PopupOverlay" parent="Theme.Material3.Light" />