mirror of https://github.com/readrops/Readrops.git
Rename main koin module
This commit is contained in:
parent
e721463f9c
commit
ad7929f444
|
@ -34,7 +34,7 @@ import org.koin.android.ext.koin.androidContext
|
||||||
import org.koin.core.parameter.parametersOf
|
import org.koin.core.parameter.parametersOf
|
||||||
import org.koin.dsl.module
|
import org.koin.dsl.module
|
||||||
|
|
||||||
val composeAppModule = module {
|
val appModule = module {
|
||||||
|
|
||||||
factory { TimelineScreenModel(get(), get(), get()) }
|
factory { TimelineScreenModel(get(), get(), get()) }
|
||||||
|
|
|
@ -24,7 +24,7 @@ open class ReadropsApp : Application(), KoinComponent, ImageLoaderFactory {
|
||||||
androidLogger(Level.ERROR)
|
androidLogger(Level.ERROR)
|
||||||
androidContext(this@ReadropsApp)
|
androidContext(this@ReadropsApp)
|
||||||
|
|
||||||
modules(apiModule, dbModule, composeAppModule)
|
modules(apiModule, dbModule, appModule)
|
||||||
}
|
}
|
||||||
|
|
||||||
createNotificationChannels()
|
createNotificationChannels()
|
||||||
|
|
Loading…
Reference in New Issue