Updated Hide screen with new arch

This commit is contained in:
Viktor De Pasquale
2019-04-19 16:32:01 +02:00
parent cda14af208
commit e81f00ef1a
20 changed files with 639 additions and 114 deletions
@@ -1,6 +1,7 @@
package com.topjohnwu.magisk.di
import com.topjohnwu.magisk.ui.MainViewModel
import com.topjohnwu.magisk.ui.hide.HideViewModel
import com.topjohnwu.magisk.ui.home.HomeViewModel
import com.topjohnwu.magisk.ui.superuser.SuperuserViewModel
import org.koin.androidx.viewmodel.dsl.viewModel
@@ -11,4 +12,5 @@ val viewModelModules = module {
viewModel { MainViewModel() }
viewModel { HomeViewModel(get(), get()) }
viewModel { SuperuserViewModel(get(), get(), get()) }
viewModel { HideViewModel(get(), get()) }
}