Skip to content

Commit

Permalink
+ Adds: publishing viewmodel to the ViewModelModule
Browse files Browse the repository at this point in the history
  • Loading branch information
AjeshRPai committed Feb 17, 2024
1 parent c368e10 commit ce782d3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.wordpress.android.ui.posts.prepublishing.categories.PrepublishingCategoriesViewModel;
import org.wordpress.android.ui.posts.prepublishing.categories.addcategory.PrepublishingAddCategoryViewModel;
import org.wordpress.android.ui.posts.prepublishing.home.PrepublishingHomeViewModel;
import org.wordpress.android.ui.posts.prepublishing.publishing.PublishingViewModel;
import org.wordpress.android.ui.posts.prepublishing.publishsettings.PrepublishingPublishSettingsViewModel;
import org.wordpress.android.ui.posts.prepublishing.tags.PrepublishingTagsViewModel;
import org.wordpress.android.ui.prefs.accountsettings.AccountSettingsViewModel;
Expand Down Expand Up @@ -551,4 +552,10 @@ abstract class ViewModelModule {
@IntoMap
@ViewModelKey(EditorJetpackSocialViewModel.class)
abstract ViewModel editorJetpackSocialViewModel(EditorJetpackSocialViewModel viewModel);

@Binds
@IntoMap
@ViewModelKey(PublishingViewModel.class)
abstract ViewModel publishingViewModel(PublishingViewModel viewModel);

}

0 comments on commit ce782d3

Please sign in to comment.