From d2ee6a21355c390a4aaefc6ea847060c8e47c6ae Mon Sep 17 00:00:00 2001 From: Isidro Henoch Date: Wed, 8 Dec 2021 02:09:47 -0600 Subject: WIP: Starts implementing the main activity - Removes the MainActivity and the shared code it was using - Adds the UnitsActivity - Implements the Map/List toggle functionality --- shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Greeting.kt | 7 ------- shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Platform.kt | 5 ----- 2 files changed, 12 deletions(-) delete mode 100644 shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Greeting.kt delete mode 100644 shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/Platform.kt (limited to 'shared/src/commonMain/kotlin/mx/trackermap/TrackerMap') 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 -- cgit v1.2.3