mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Fix switch style in reader settings sheet (fixes #2784)
This commit is contained in:
		@@ -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 New Issue
	
	Block a user