summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/CommunalHub.kt12
1 files changed, 8 insertions, 4 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 bf3360f0ea14..fab0ca318fbf 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
@@ -1010,8 +1010,11 @@ private fun EmptyStateCta(contentPadding: PaddingValues, viewModel: BaseCommunal
val colors = MaterialTheme.colorScheme
Card(
modifier = Modifier.height(hubDimensions.GridHeight).padding(contentPadding),
- colors = CardDefaults.cardColors(containerColor = Color.Transparent),
- border = BorderStroke(3.adjustedDp, colors.secondary),
+ colors =
+ CardDefaults.cardColors(
+ containerColor = colors.primary,
+ contentColor = colors.onPrimary,
+ ),
shape = RoundedCornerShape(size = 80.adjustedDp),
) {
Column(
@@ -1032,13 +1035,14 @@ private fun EmptyStateCta(contentPadding: PaddingValues, viewModel: BaseCommunal
heading()
},
)
+
Row(modifier = Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.Center) {
Button(
modifier = Modifier.height(56.dp),
colors =
ButtonDefaults.buttonColors(
- containerColor = colors.primary,
- contentColor = colors.onPrimary,
+ containerColor = colors.primaryContainer,
+ contentColor = colors.onPrimaryContainer,
),
onClick = { viewModel.onOpenWidgetEditor(shouldOpenWidgetPickerOnStart = true) },
) {