Skip to content

Commit

Permalink
Optimize code formatting in ShowkaseTheme.kt (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
oas004 committed Jul 16, 2022
1 parent 504db33 commit e425d5b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.colorResource

@Composable
fun ShowkaseTheme(children: @Composable()() -> Unit) {
fun ShowkaseTheme(children: @Composable () -> Unit) {
val light = lightColors()
val dark = darkColors()
val colors = if (isSystemInDarkTheme()) { dark } else { light }
Expand Down

0 comments on commit e425d5b

Please sign in to comment.