Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sample/src/androidMain/kotlin/Platform.android.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import android.os.Build

class AndroidPlatform : Platform {
private class AndroidPlatform : Platform {
override val name: String = "Android ${Build.VERSION.SDK_INT}"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ class MainActivity : ComponentActivity() {

@Preview(showSystemUi = true)
@Composable
fun AppAndroidPreview() {
private fun AppAndroidPreview() {
App()
}
2 changes: 1 addition & 1 deletion sample/src/desktopMain/kotlin/Platform.jvm.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class JVMPlatform: Platform {
private class JVMPlatform: Platform {
override val name: String = "Java ${System.getProperty("java.version")}"
}

Expand Down
2 changes: 1 addition & 1 deletion sample/src/desktopMain/kotlin/main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ fun main() = application {

@Preview
@Composable
fun AppDesktopPreview() {
private fun AppDesktopPreview() {
App()
}
2 changes: 1 addition & 1 deletion sample/src/iosMain/kotlin/Platform.ios.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import platform.UIKit.UIDevice

class IOSPlatform: Platform {
private class IOSPlatform: Platform {
override val name: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion
}

Expand Down