Browse Source
WiX linker fails to find class files of inlined functions for some reason (maybe because of '$' character in name or long paths) Fixes #196pull/328/head
Alexey Tsvetkov
4 years ago
committed by
Alexey Tsvetkov
5 changed files with 56 additions and 13 deletions
@ -1 +1,18 @@ |
|||||||
fun main() {} |
import androidx.compose.desktop.Window |
||||||
|
import androidx.compose.material.Text |
||||||
|
import androidx.compose.material.Button |
||||||
|
import androidx.compose.material.MaterialTheme |
||||||
|
import androidx.compose.runtime.* |
||||||
|
|
||||||
|
fun main() = Window { |
||||||
|
val scope = rememberCoroutineScope() |
||||||
|
var text by remember { mutableStateOf("Hello, World!") } |
||||||
|
|
||||||
|
MaterialTheme { |
||||||
|
Button(onClick = { |
||||||
|
text = "Hello, Desktop!" |
||||||
|
}) { |
||||||
|
Text(text) |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue