Skip to content

Commit

Permalink
Added Koin under ios
Browse files Browse the repository at this point in the history
  • Loading branch information
nis-ship-it committed Nov 9, 2024
1 parent 138a17d commit 1ccfc64
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions bisqapps/iosClient/iosClient/iosClient.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import SwiftUI
import domain

@main
struct iosClient: App {
init() {
HelperDIKt.doInitKoin()
}

var body: some Scene {
WindowGroup {
ContentView()
Expand Down
4 changes: 4 additions & 0 deletions bisqapps/shared/domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ kotlin {
commonTest.dependencies {
implementation(libs.kotlin.test)
}

iosMain.dependencies {
implementation(libs.koin.core)
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package network.bisq.mobile.domain.di

import org.koin.core.context.startKoin

fun initKoin() {
startKoin {
modules(appModule)
}
}

0 comments on commit 1ccfc64

Please sign in to comment.