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

Commit 20480f38 authored by Andre Le's avatar Andre Le
Browse files

Change color of policy info and build status text view

These components are currently unreadable in with a similar background
color. Thus, changing their color for better UX.

Test: manual, look at the Quick Settings UI
Fixes: 389209268
Flag: NONE small fix
Change-Id: I7b77a170f7f8ebb1c5702d3ff795fe7d23f1ff0c
parent 9f48f16d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -372,7 +372,11 @@ private fun TextButton(
            Modifier.padding(horizontal = dimensionResource(R.dimen.qs_footer_padding)),
            verticalAlignment = Alignment.CenterVertically,
        ) {
            Icon(icon, Modifier.padding(end = 12.dp).size(20.dp))
            Icon(
                icon,
                Modifier.padding(end = 12.dp).size(20.dp),
                colorAttr(R.attr.onShadeInactiveVariant),
            )

            Text(
                text,
@@ -381,6 +385,7 @@ private fun TextButton(
                // TODO(b/242040009): Remove this letter spacing. We should only use the M3 text
                // styles without modifying them.
                letterSpacing = 0.01.em,
                color = colorAttr(R.attr.onShadeInactiveVariant),
                maxLines = 1,
                overflow = TextOverflow.Ellipsis,
            )
@@ -394,6 +399,7 @@ private fun TextButton(
                    painterResource(com.android.internal.R.drawable.ic_chevron_end),
                    contentDescription = null,
                    Modifier.padding(start = 8.dp).size(20.dp),
                    colorAttr(R.attr.onShadeInactiveVariant),
                )
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@
    </style>

    <style name="TextAppearance.QS.Status.Build">
        <item name="android:textColor">?attr/onSurfaceVariant</item>
        <item name="android:textColor">?attr/onShadeInactiveVariant</item>
    </style>

    <style name="TextAppearance.DeviceManagementDialog.Title" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle"/>