android: Remove check for API 29 in themes
This commit is contained in:
parent
8cef21a0b0
commit
89593d70bf
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="Theme.V29.Yuzu" parent="Theme.Yuzu">
|
||||
<item name="android:enforceStatusBarContrast">false</item>
|
||||
<item name="android:enforceNavigationBarContrast">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Yuzu.Main" parent="Theme.V29.Yuzu" />
|
||||
|
||||
</resources>
|
|
@ -7,7 +7,7 @@
|
|||
<item name="postSplashScreenTheme">@style/Theme.Yuzu.Main</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Yuzu" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<style name="Theme.Yuzu.Main" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<item name="colorPrimary">@color/yuzu_primary</item>
|
||||
<item name="colorOnPrimary">@color/yuzu_onPrimary</item>
|
||||
<item name="colorPrimaryContainer">@color/yuzu_primaryContainer</item>
|
||||
|
@ -42,9 +42,9 @@
|
|||
<item name="sliderStyle">@style/YuzuSlider</item>
|
||||
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">default</item>
|
||||
|
||||
<item name="android:enforceStatusBarContrast">false</item>
|
||||
<item name="android:enforceNavigationBarContrast">false</item>
|
||||
</style>
|
||||
|
||||
<!-- Trick for API >= 29 specific changes -->
|
||||
<style name="Theme.Yuzu.Main" parent="Theme.Yuzu" />
|
||||
|
||||
</resources>
|
||||
|
|
Reference in New Issue