Android: Switch to Theme.Material3.DynamicColors

* This fixes some UI elements (3-dot menu background, status bar when scrolling down in settings) not following Material You colors.
* It doesn't cause any issues on Android versions without dynamic colors (tested on Android 9, 11, 16)

Signed-off-by: Leonardo Ledda <leonardoledda@gmail.com>
This commit is contained in:
Leonardo Ledda
2026-01-01 14:11:37 +01:00
parent 09a0e95efe
commit 593c9f3836

View File

@@ -13,7 +13,7 @@
</style>
<!-- Base theme -->
<style name="Theme.Dolphin" parent="Theme.Material3.DayNight.NoActionBar">
<style name="Theme.Dolphin" parent="Theme.Material3.DynamicColors.DayNight.NoActionBar">
<item name="colorPrimary">@color/dolphin_primary</item>
<item name="colorOnPrimary">@color/dolphin_onPrimary</item>
<item name="colorPrimaryContainer">@color/dolphin_primaryContainer</item>