File tree 2 files changed +5
-1
lines changed
src/androidMain/kotlin/dev/johnoreilly/climatetrace
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ plugins {
13
13
}
14
14
15
15
kotlin {
16
- @OptIn(ExperimentalWasmDsl ::class )
16
+ jvmToolchain(17 )
17
+
18
+ @OptIn(org.jetbrains.kotlin.gradle.ExperimentalWasmDsl ::class )
17
19
wasmJs {
18
20
moduleName = " composeApp"
19
21
browser {
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ package dev.johnoreilly.climatetrace
5
5
import android.os.Bundle
6
6
import androidx.activity.ComponentActivity
7
7
import androidx.activity.compose.setContent
8
+ import androidx.activity.enableEdgeToEdge
8
9
import androidx.compose.material3.ExperimentalMaterial3Api
9
10
import androidx.compose.material3.MaterialTheme
10
11
import androidx.compose.runtime.Composable
@@ -15,6 +16,7 @@ import dev.johnoreilly.climatetrace.ui.CountryListScreen
15
16
class MainActivity : ComponentActivity () {
16
17
17
18
override fun onCreate (savedInstanceState : Bundle ? ) {
19
+ enableEdgeToEdge()
18
20
super .onCreate(savedInstanceState)
19
21
20
22
initKoin(this )
You can’t perform that action at this time.
0 commit comments