Skip to content

Commit

Permalink
Minimize sample codes for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
fornewid committed Jun 22, 2024
1 parent c2dbab9 commit 0e77e13
Show file tree
Hide file tree
Showing 36 changed files with 2 additions and 2,501 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
import androidx.compose.runtime.Composable

@Composable
fun BackHandler(enabled: Boolean = true, onBack: () -> Unit) {
actual fun BackHandler(enabled: Boolean, onBack: () -> Unit) {
// do nothing
}
3 changes: 1 addition & 2 deletions sample/web-wasm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig

plugins {
//id("mmc.kotlin.multiplatform")
id("org.jetbrains.kotlin.multiplatform")
id("mmc.compose")
}
Expand All @@ -28,7 +27,7 @@ kotlin {

sourceSets {
commonMain.dependencies {
// implementation(projects.sample.shared)
implementation(projects.sample.shared)
implementation(projects.core)

implementation(compose.ui)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0e77e13

Please sign in to comment.