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

Commit 39321687 authored by Xayah's avatar Xayah Committed by Bruno Martins
Browse files

SystemUI: Reset to textColorPrimaryInverse for light theme

* Most of them have been replaced with textColorOnAccent in b1444e4d, which is not in harmony with light theme.

Change-Id: I72a3a33e4e4a4fc9f23458d2c0000ca4c3fbae7d
parent 7890ef7a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@
            android:padding="@dimen/qs_footer_icon_padding"
            android:src="@*android:drawable/ic_lock_power_off"
            android:contentDescription="@string/accessibility_quick_settings_power_menu"
            android:tint="?androidprv:attr/textColorOnAccent" />
            android:tint="?androidprv:attr/textColorPrimaryInverse" />

    </LinearLayout>
</com.android.systemui.qs.FooterActionsView>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ public class QSIconViewImpl extends QSIconView {
                return Utils.getColorAttrDefaultColor(context, android.R.attr.textColorPrimary);
            case Tile.STATE_ACTIVE:
                return Utils.getColorAttrDefaultColor(context,
                        com.android.internal.R.attr.textColorOnAccent);
                        com.android.internal.R.attr.textColorPrimaryInverse);
            default:
                Log.e("QSIconView", "Invalid state " + state);
                return 0;
+2 −2
Original line number Diff line number Diff line
@@ -94,8 +94,8 @@ open class QSTileViewImpl @JvmOverloads constructor(
    private val colorInactive = Utils.getColorAttrDefaultColor(context, R.attr.offStateColor)
    private val colorUnavailable = Utils.applyAlpha(UNAVAILABLE_ALPHA, colorInactive)

    private val colorLabelActive =
            Utils.getColorAttrDefaultColor(context, com.android.internal.R.attr.textColorOnAccent)
    private val colorLabelActive = Utils.getColorAttrDefaultColor(context,
            com.android.internal.R.attr.textColorPrimaryInverse)
    private val colorLabelInactive =
            Utils.getColorAttrDefaultColor(context, android.R.attr.textColorPrimary)
    private val colorLabelUnavailable = Utils.applyAlpha(UNAVAILABLE_ALPHA, colorLabelInactive)