Simple login screen & Koin DI integration

This commit is contained in:
2024-08-05 01:43:36 +03:00
parent ddca42e38e
commit bf6b55aab9
16 changed files with 170 additions and 92 deletions
@@ -0,0 +1,6 @@
package dev.meloda.overseerr.model
actual class Platform actual constructor() {
actual val name: String
get() = "iOS"
}
+8 -1
View File
@@ -1,5 +1,12 @@
import androidx.compose.ui.window.ComposeUIViewController
import dev.meloda.overseerr.App
import dev.meloda.overseerr.di.appModule
import org.koin.core.context.startKoin
import platform.UIKit.UIViewController
fun MainViewController(): UIViewController = ComposeUIViewController { App() }
fun MainViewController(): UIViewController = ComposeUIViewController {
startKoin {
modules(appModule)
}
App()
}