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 f17badb commit 0823903
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ import java.awt.event.WindowEvent
remember {
if (!JBR.isAvailable()) {
error(
"DecoratedWindow only can be used on JetBrainsRuntime(JBR) platform, " + "please check the document https://github.com/JetBrains/jewel#int-ui-standalone-theme",
"DecoratedWindow only can be used on JetBrainsRuntime(JBR) platform, " +
"please check the document https://github.com/JetBrains/jewel#int-ui-standalone-theme",
)
}
}
Expand Down Expand Up @@ -251,7 +252,10 @@ private object DecoratedWindowMeasurePolicy : MeasurePolicy {
maximized: Boolean = false,
active: Boolean = true,
) = DecoratedWindowState(
state = (if (fullscreen) Fullscreen else 0UL) or (if (minimized) Minimize else 0UL) or (if (maximized) Maximize else 0UL) or (if (active) Active else 0UL),
state = (if (fullscreen) Fullscreen else 0UL) or
(if (minimized) Minimize else 0UL) or
(if (maximized) Maximize else 0UL) or
(if (active) Active else 0UL),
)

fun of(
Expand Down

0 comments on commit 0823903

Please sign in to comment.