Skip to content

Commit 5818fba

Browse files
committed
Add SpaceX launch tracking feature with multiplatform support
This commit introduces a new multiplatform SpaceX launch tracking app. It includes Compose-based Android and SwiftUI-based iOS UIs, shared Kotlin logic, SQLDelight for local storage, and Koin for dependency injection. The app tracks and displays launch details in a clean interface.
1 parent b7de9c3 commit 5818fba

File tree

2 files changed

+3
-4
lines changed
  • shared/src

2 files changed

+3
-4
lines changed

shared/src/commonMain/kotlin/com/jetbrains/spacetutorial/cache/Database.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ internal class Database(databaseDriverFactory: DatabaseDriverFactory) {
3333
small = patchUrlSmall,
3434
large = patchUrlLarge
3535
),
36-
article = articleUrl
37-
)
36+
article = articleUrl )
3837
)
3938
}
4039

@@ -55,4 +54,4 @@ internal class Database(databaseDriverFactory: DatabaseDriverFactory) {
5554
}
5655
}
5756
}
58-
}
57+
}

shared/src/iosMain/kotlin/com/jetbrains/spacetutorial/KoinHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ class KoinHelper : KoinComponent {
2727
suspend fun getLaunches(forceReload: Boolean): List<RocketLaunch> {
2828
return sdk.getLaunches(forceReload = forceReload)
2929
}
30-
}
30+
}

0 commit comments

Comments
 (0)