Fix viewmodel dependency injection
authorDa Risk <da_risk@geekorum.com>
Sat, 01 Jun 2019 13:34:10 -0700
changeset 210 63fe6902213a
parent 209 3d913a364bcb
child 211 e445dee67ae0
Fix viewmodel dependency injection
app/src/main/java/com/geekorum/ttrss/articles_list/di.kt
--- a/app/src/main/java/com/geekorum/ttrss/articles_list/di.kt	Fri May 31 19:09:01 2019 -0700
+++ b/app/src/main/java/com/geekorum/ttrss/articles_list/di.kt	Sat Jun 01 13:34:10 2019 -0700
@@ -27,7 +27,6 @@
 import androidx.lifecycle.ViewModel
 import com.geekorum.geekdroid.dagger.FragmentKey
 import com.geekorum.geekdroid.dagger.ViewModelKey
-import com.geekorum.ttrss.features_manager.InstallModuleViewModel
 import com.geekorum.ttrss.accounts.NetworkLoginModule
 import com.geekorum.ttrss.accounts.PerAccount
 import com.geekorum.ttrss.di.AssistedFactoriesModule
@@ -99,10 +98,6 @@
     @ViewModelKey(FeedsViewModel::class)
     abstract fun getFeedsViewModel(feedsViewModel: FeedsViewModel): ViewModel
 
-    @Binds
-    @IntoMap
-    @ViewModelKey(InstallModuleViewModel::class)
-    abstract fun getInstallModuleViewModel(vm: InstallModuleViewModel): ViewModel
 
 }