diff --git a/WordPress/src/main/java/org/wordpress/android/modules/ViewModelModule.java b/WordPress/src/main/java/org/wordpress/android/modules/ViewModelModule.java index 1f8bb88b6ac3..2b2f263a3b0b 100644 --- a/WordPress/src/main/java/org/wordpress/android/modules/ViewModelModule.java +++ b/WordPress/src/main/java/org/wordpress/android/modules/ViewModelModule.java @@ -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; @@ -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); + }