Magisk/app/src/main/java/com/topjohnwu/magisk/di/DatabaseModule.kt

16 lines
371 B
Kotlin
Raw Normal View History

package com.topjohnwu.magisk.di
import com.topjohnwu.magisk.data.database.*
import com.topjohnwu.magisk.tasks.UpdateRepos
import org.koin.dsl.module
val databaseModule = module {
single { LogDao() }
single { PolicyDao(get()) }
single { SettingsDao() }
2019-05-10 17:13:15 +00:00
single { StringDao() }
single { RepoDatabaseHelper(get()) }
single { UpdateRepos(get()) }
}