Skip to content

Commit

Permalink
Update GlanceSnippets.kt (#249)
Browse files Browse the repository at this point in the history
* Update GlanceSnippets.kt

* Apply Spotless

* Update GlanceSnippets.kt

---------

Co-authored-by: secondsun <[email protected]>
  • Loading branch information
secondsun and secondsun authored Apr 12, 2024
1 parent 4572c61 commit 4d34435
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
) {
Expand Down

0 comments on commit 4d34435

Please sign in to comment.