mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-29 04:55:23 +00:00
bcd1064e94
Fixed theme issues along the way
15 lines
438 B
Kotlin
15 lines
438 B
Kotlin
package com.topjohnwu.magisk.di
|
|
|
|
import com.topjohnwu.magisk.ui.MainViewModel
|
|
import com.topjohnwu.magisk.ui.home.HomeViewModel
|
|
import com.topjohnwu.magisk.ui.superuser.SuperuserViewModel
|
|
import org.koin.androidx.viewmodel.dsl.viewModel
|
|
import org.koin.dsl.module
|
|
|
|
|
|
val viewModelModules = module {
|
|
viewModel { MainViewModel() }
|
|
viewModel { HomeViewModel(get(), get()) }
|
|
viewModel { SuperuserViewModel(get(), get(), get()) }
|
|
}
|