From a2bcf4a07c1d9f9139ca44536e37a2e1f3ec9810 Mon Sep 17 00:00:00 2001 From: Hauke Sommerfeld Date: Wed, 27 Mar 2024 23:34:35 +0100 Subject: [PATCH] Update fritz2 to 1.0-RC17 --- gradle/libs.versions.toml | 2 +- .../kotlin/de/haukesomm/sokoban/web/components/ListBox.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4e473a2..4953863 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ kotlin = "1.9.22" kotlinx-coroutines = "1.7.3" # kotlinx-serialization = "1.6.2" -fritz2 = "1.0-RC16" +fritz2 = "1.0-RC17" ksp = "1.9.22-1.0.16" npm-tailwindcss = "3.3.3" diff --git a/web/src/jsMain/kotlin/de/haukesomm/sokoban/web/components/ListBox.kt b/web/src/jsMain/kotlin/de/haukesomm/sokoban/web/components/ListBox.kt index c808990..0373cb7 100644 --- a/web/src/jsMain/kotlin/de/haukesomm/sokoban/web/components/ListBox.kt +++ b/web/src/jsMain/kotlin/de/haukesomm/sokoban/web/components/ListBox.kt @@ -75,8 +75,8 @@ class ListBox { else "" }) - selected.render { - if (it) icon("w-4 h-4", definition = HeroIcons.check) + selected.renderTrue { + icon("w-4 h-4", definition = HeroIcons.check) } span("absolute left-8") {