Magisk/app/src/main/java/com/topjohnwu/magisk/di/DatabaseModule.kt
2019-06-01 02:20:40 -07:00

16 lines
371 B
Kotlin

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() }
single { StringDao() }
single { RepoDatabaseHelper(get()) }
single { UpdateRepos(get()) }
}