File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
wasmApp/src/wasmJsMain/kotlin/com/mbakgun/mj
webApp/src/jsMain/kotlin/com/mbakgun/mj Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# Gradle
2- org.gradle.jvmargs =-Xmx2048M -Dkotlin.daemon.jvm.options\ ="-Xmx2048M "
2+ org.gradle.jvmargs =-Xmx4096M -Dkotlin.daemon.jvm.options="-Xmx4096M "
33
44# Kotlin
55kotlin.code.style =official
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pluginManagement {
2020 plugins {
2121 val kotlinVersion = " 2.2.20"
2222 val agpVersion = " 8.13.0"
23- val composeVersion = " 1.8.2 "
23+ val composeVersion = " 1.9.0 "
2424
2525 kotlin(" jvm" ).version(kotlinVersion)
2626 kotlin(" multiplatform" ).version(kotlinVersion)
Original file line number Diff line number Diff line change 11package com.mbakgun.mj
22
33import androidx.compose.ui.ExperimentalComposeUiApi
4- import androidx.compose.ui.window.CanvasBasedWindow
4+ import androidx.compose.ui.window.ComposeViewport
55import di.initKoin
66import kotlinx.browser.document
77import ui.MjImagesApp
@@ -10,7 +10,7 @@ import ui.MjImagesApp
1010fun main () {
1111 initKoin()
1212
13- CanvasBasedWindow (" MjImagesApp" ) {
13+ ComposeViewport (" MjImagesApp" ) {
1414 MjImagesApp ()
1515 }
1616 document.getElementById(" loader-container" )?.remove()
Original file line number Diff line number Diff line change 11package com.mbakgun.mj
22
33import androidx.compose.ui.ExperimentalComposeUiApi
4- import androidx.compose.ui.window.CanvasBasedWindow
4+ import androidx.compose.ui.window.ComposeViewport
55import di.initKoin
66import kotlinx.browser.document
77import org.jetbrains.skiko.wasm.onWasmReady
@@ -11,7 +11,7 @@ import ui.MjImagesApp
1111fun main () {
1212 initKoin()
1313 onWasmReady {
14- CanvasBasedWindow (" MjImagesApp" ) {
14+ ComposeViewport (" MjImagesApp" ) {
1515 MjImagesApp ()
1616 }
1717 document.getElementById(" loader-container" )?.remove()
You can’t perform that action at this time.
0 commit comments