summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Prince Donkor <princedonkor@google.com> 2024-12-13 07:52:05 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2024-12-13 07:52:05 -0800
commitbd4fc429bffe25451e96e43919569aeda5a4f265 (patch)
tree67b930ce61ea3e540bc75ff40f5b5d448938e7e0
parent5968e1addcab4fd63372613c3d0dcc7edcde03ab (diff)
parenta814e3f006a7a80f3f1c13ac1f02e7aca6ed5152 (diff)
Merge "Improve text contrast ratio in Glanceable Hub empty state" into main
-rw-r--r--packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt b/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt
index d5eaf829b746..f36fd34d0445 100644
--- a/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt
+++ b/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt
@@ -1020,7 +1020,7 @@ private fun EmptyStateCta(contentPadding: PaddingValues, viewModel: BaseCommunal
text = titleForEmptyStateCTA,
style = MaterialTheme.typography.displaySmall,
textAlign = TextAlign.Center,
- color = colors.primary,
+ color = colors.onPrimary,
modifier =
Modifier.focusable().semantics(mergeDescendants = true) {
contentDescription = titleForEmptyStateCTA