Skip to content

Commit

Permalink
cleanup ios entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed Oct 5, 2023
1 parent 9361e02 commit 9354d4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shared/src/iosMain/kotlin/main.ios.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import ml.dev.kotlin.openotp.component.OpenOtpAppComponent
import org.koin.compose.KoinContext
import platform.UIKit.UIViewController

fun MainViewController(component: OpenOtpAppComponent): UIViewController = ComposeUIViewController() {
fun MainViewController(component: OpenOtpAppComponent): UIViewController = ComposeUIViewController {
KoinContext {
OpenOtpApp(component)
// CameraView()
}
}

0 comments on commit 9354d4a

Please sign in to comment.