Fix switch style in reader settings sheet (fixes #2784)

This commit is contained in:
arkon 2020-04-11 11:29:55 -04:00
parent 1ed291086a
commit 135e55fe27
2 changed files with 7 additions and 0 deletions

View File

@ -223,6 +223,11 @@
</style>
<style name="Theme.Widget.BasicSwitch" parent="Widget.MaterialComponents.CompoundButton.Switch">
<item name="useMaterialThemeColors">false</item>
</style>
<!--=======================-->
<!--Widgets.TextInputLayout-->
<!--=======================-->

View File

@ -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">