Skip to content

Commit

Permalink
Fix crash in standalone sample
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r committed Sep 12, 2023
1 parent eef5112 commit d1619bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/kotlin/org/jetbrains/jewel/TextArea.kt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fun TextArea(
style = style,
textStyle = textStyle,
interactionSource = interactionSource,
) { innerTextField, state ->
) { innerTextField, _ ->
TextAreaDecorationBox(
innerTextField = innerTextField,
contentPadding = style.metrics.contentPadding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d1619bf

Please sign in to comment.