Initial commit
(Multiplatform project template)
This commit is contained in:
7
composeApp/src/androidMain/kotlin/Platform.android.kt
Normal file
7
composeApp/src/androidMain/kotlin/Platform.android.kt
Normal file
@@ -0,0 +1,7 @@
|
||||
import android.os.Build
|
||||
|
||||
class AndroidPlatform : Platform {
|
||||
override val name: String = "Android ${Build.VERSION.SDK_INT}"
|
||||
}
|
||||
|
||||
actual fun getPlatform(): Platform = AndroidPlatform()
|
||||
Reference in New Issue
Block a user