Skip to content

Commit

Permalink
fix desktop demo app
Browse files Browse the repository at this point in the history
Update main.kt #43
fix desktop app load
  • Loading branch information
KunMinX authored Aug 11, 2024
1 parent db49c9b commit cdc9af2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demoApp/composeApp/src/jvmMain/kotlin/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ fun main() = application {
onCloseRequest = ::exitApplication,
) {
window.minimumSize = Dimension(350, 600)
App()
ProvidePreComposeLocals {
App()
}
}
}

0 comments on commit cdc9af2

Please sign in to comment.