Skip to content

Commit

Permalink
Make detekt happy
Browse files Browse the repository at this point in the history
  • Loading branch information
devkanro committed Oct 12, 2023
1 parent df13a1c commit 37c931e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/kotlin/org/jetbrains/jewel/IntelliJTheme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ fun onBackground(color: Color, content: @Composable () -> Unit) {
val locals = if (color.isSpecified && color.alpha == 1f) {
arrayOf(LocalOnDarkBackground provides color.isDark())
} else {
arrayOf()
emptyArray()
}

CompositionLocalProvider(values = locals, content)
Expand Down

0 comments on commit 37c931e

Please sign in to comment.