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 ) {