Compare commits
2 Commits
94b61f3de5
...
dd08763161
| Author | SHA1 | Date | |
|---|---|---|---|
| dd08763161 | |||
| e0b1514965 |
@ -2,16 +2,9 @@ package be.simplenotes.app.modules
|
|||||||
|
|
||||||
import be.simplenotes.app.Config
|
import be.simplenotes.app.Config
|
||||||
import org.koin.dsl.module
|
import org.koin.dsl.module
|
||||||
import org.koin.dsl.onClose
|
|
||||||
|
|
||||||
val configModule = module {
|
val configModule = module {
|
||||||
single { Config() } onClose {
|
single { Config() }
|
||||||
println("Unloaded config")
|
|
||||||
println("Unloaded config")
|
|
||||||
println("Unloaded config")
|
|
||||||
println("Unloaded config")
|
|
||||||
}
|
|
||||||
|
|
||||||
single { get<Config>().dataSourceConfig }
|
single { get<Config>().dataSourceConfig }
|
||||||
single { get<Config>().jwtConfig }
|
single { get<Config>().jwtConfig }
|
||||||
single { get<Config>().serverConfig }
|
single { get<Config>().serverConfig }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user