From 4d34435700cff555d2def460ab62a625455a3f9c Mon Sep 17 00:00:00 2001 From: Hoyt Summers Pittman Date: Fri, 12 Apr 2024 10:40:12 -0400 Subject: [PATCH] Update GlanceSnippets.kt (#249) * Update GlanceSnippets.kt * Apply Spotless * Update GlanceSnippets.kt --------- Co-authored-by: secondsun --- .../com/example/compose/snippets/glance/GlanceSnippets.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compose/snippets/src/main/java/com/example/compose/snippets/glance/GlanceSnippets.kt b/compose/snippets/src/main/java/com/example/compose/snippets/glance/GlanceSnippets.kt index 4e1af17d..2566a514 100644 --- a/compose/snippets/src/main/java/com/example/compose/snippets/glance/GlanceSnippets.kt +++ b/compose/snippets/src/main/java/com/example/compose/snippets/glance/GlanceSnippets.kt @@ -149,14 +149,17 @@ private object CreateUI { provideContent { // create your AppWidget here - MyContent() + GlanceTheme { + MyContent() + } } } @Composable private fun MyContent() { Column( - modifier = GlanceModifier.fillMaxSize(), + modifier = GlanceModifier.fillMaxSize() + .background(GlanceTheme.colors.background), verticalAlignment = Alignment.Top, horizontalAlignment = Alignment.CenterHorizontally ) {