Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f26c1ec7 authored by Timi's avatar Timi Committed by Paul Keith
Browse files

Settings: use framework text colors for SwitchBar



 * Use framework text colors for SwitchBar also on
   dark mode to properly display disabled colors.
 * Before the patch, a disabled SwitchBar on dark
   mode would look same as an enabled one.

Signed-off-by: default avatarTimi Rautamäki <timi.rautamaki@gmail.com>
Change-Id: Ia2fc5eb3f614d899cb5e519c235f1ea9b86a1527
parent 45c20852
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -31,10 +31,6 @@

    <style name="Theme.SubSettings" parent="Theme.SubSettings.Base"/>

    <style name="ThemeOverlay.SwitchBar.Settings" parent="ThemeOverlay.SwitchBar.Settings.Base">
        <item name="android:textColorPrimaryInverse">@android:color/black</item>
    </style>

    <style name="Theme.AlertDialog.Base" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert">
        <item name="colorAccent">@*android:color/accent_device_default_dark</item>
        <item name="android:colorBackground">@color/dialog_background</item>