diff options
Diffstat (limited to 'shared')
4 files changed, 0 insertions, 24 deletions
diff --git a/shared/src/androidMain/kotlin/mx/trackermap/TrackerMap/Platform.kt b/shared/src/androidMain/kotlin/mx/trackermap/TrackerMap/Platform.kt deleted file mode 100644 index 8a30a29..0000000 --- a/shared/src/androidMain/kotlin/mx/trackermap/TrackerMap/Platform.kt +++ /dev/null @@ -1,5 +0,0 @@ -package mx.trackermap.TrackerMap - -actual class Platform actual constructor() { - actual val platform: String = "Android ${android.os.Build.VERSION.SDK_INT}" -}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Greeting.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Greeting.kt deleted file mode 100644 index 68b4100..0000000 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Greeting.kt +++ /dev/null @@ -1,7 +0,0 @@ -package mx.trackermap.TrackerMap - -class Greeting { - fun greeting(): String { - return "Hello, ${Platform().platform}!" - } -}
\ No newline at end of file diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Platform.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Platform.kt deleted file mode 100644 index 9f39005..0000000 --- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Platform.kt +++ /dev/null @@ -1,5 +0,0 @@ -package mx.trackermap.TrackerMap - -expect class Platform() { - val platform: String -}
\ No newline at end of file diff --git a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt deleted file mode 100644 index 4c557dd..0000000 --- a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt +++ /dev/null @@ -1,7 +0,0 @@ -package mx.trackermap.TrackerMap - -import platform.UIKit.UIDevice - -actual class Platform actual constructor() { - actual val platform: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion -}
\ No newline at end of file |