initial commit
This commit is contained in:
commit
f72938cffb
71 changed files with 1404 additions and 0 deletions
5
composeApp/src/desktopMain/kotlin/Platform.jvm.kt
Normal file
5
composeApp/src/desktopMain/kotlin/Platform.jvm.kt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class JVMPlatform: Platform {
|
||||
override val name: String = "Java ${System.getProperty("java.version")}"
|
||||
}
|
||||
|
||||
actual fun getPlatform(): Platform = JVMPlatform()
|
||||
9
composeApp/src/desktopMain/kotlin/main.kt
Normal file
9
composeApp/src/desktopMain/kotlin/main.kt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.window.Window
|
||||
import androidx.compose.ui.window.application
|
||||
|
||||
fun main() = application {
|
||||
Window(onCloseRequest = ::exitApplication, title = "PokeDex") {
|
||||
App()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue