Paweł Łukasz
06/13/2022, 3:18 PM() -> Unit
in nested function
Theme.kt:
@Composable
fun MusicApp_theme(
darkTheme: Boolean = isSystemInDarkTheme(),
content: @Composable () -> Unit
) {
val colors = if (darkTheme) {
DarkColorPalette
} else {
LightColorPalette
}
MaterialTheme(
colors = colors,
typography = Typography,
shapes = Shapes,
content = content
)
}
ephemient
06/13/2022, 3:24 PMPaweł Łukasz
06/13/2022, 3:24 PMcom.github.shyiko:ktlint:0.31.0
ephemient
06/13/2022, 3:25 PMPaweł Łukasz
06/13/2022, 3:25 PMPaweł Łukasz
06/13/2022, 3:26 PM