diff --git a/core/src/main/kotlin/org/jetbrains/jewel/TextArea.kt b/core/src/main/kotlin/org/jetbrains/jewel/TextArea.kt index 01d5934f27..1dbc198e1e 100644 --- a/core/src/main/kotlin/org/jetbrains/jewel/TextArea.kt +++ b/core/src/main/kotlin/org/jetbrains/jewel/TextArea.kt @@ -124,7 +124,7 @@ fun TextArea( style = style, textStyle = textStyle, interactionSource = interactionSource, - ) { innerTextField, state -> + ) { innerTextField, _ -> TextAreaDecorationBox( innerTextField = innerTextField, contentPadding = style.metrics.contentPadding, diff --git a/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt b/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt index ec41aed913..e74a4230ff 100644 --- a/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt +++ b/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt @@ -55,9 +55,9 @@ fun main() { var swingCompat by remember { mutableStateOf(false) } val theme = if (isDark) IntUiTheme.darkThemeDefinition() else IntUiTheme.lightThemeDefinition() - val resourceLoader = LocalResourceLoader.current - IntUiTheme(theme, swingCompat) { + val resourceLoader = LocalResourceLoader.current + val windowBackground = if (isDark) { IntUiTheme.colorPalette.grey(1) } else {