From b738ddaefa6150114af3967413c44f05bbbea09f Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 27 Aug 2024 03:03:11 +0200 Subject: [PATCH] Added missing Platform --- .../kotlin/net/codinux/banking/ui/Platform.js.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 composeApp/src/jsMain/kotlin/net/codinux/banking/ui/Platform.js.kt diff --git a/composeApp/src/jsMain/kotlin/net/codinux/banking/ui/Platform.js.kt b/composeApp/src/jsMain/kotlin/net/codinux/banking/ui/Platform.js.kt new file mode 100644 index 0000000..2ef636e --- /dev/null +++ b/composeApp/src/jsMain/kotlin/net/codinux/banking/ui/Platform.js.kt @@ -0,0 +1,10 @@ +package net.codinux.banking.ui + +class JsPlatform: Platform { + override val name: String = "Web with Kotlin/Js" + + override val type: PlatformType = PlatformType.Web + +} + +actual fun getPlatform(): Platform = JsPlatform() \ No newline at end of file