Fix switch style in reader settings sheet (fixes #2784)
This commit is contained in:
parent
1ed291086a
commit
135e55fe27
2 changed files with 7 additions and 0 deletions
|
@ -223,6 +223,11 @@
|
|||
</style>
|
||||
|
||||
|
||||
<style name="Theme.Widget.BasicSwitch" parent="Widget.MaterialComponents.CompoundButton.Switch">
|
||||
<item name="useMaterialThemeColors">false</item>
|
||||
</style>
|
||||
|
||||
|
||||
<!--=======================-->
|
||||
<!--Widgets.TextInputLayout-->
|
||||
<!--=======================-->
|
||||
|
|
|
@ -185,6 +185,7 @@
|
|||
|
||||
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
||||
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
||||
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Base.Reader.Light" parent="Theme.Base">
|
||||
|
@ -199,6 +200,7 @@
|
|||
|
||||
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
||||
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
||||
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Reader" parent="Theme.Base.Reader.Dark">
|
||||
|
|
Reference in a new issue