From ce782d3c7a3bbc4cde8da6282d9b57893055d1ed Mon Sep 17 00:00:00 2001 From: Ajesh R Pai Date: Sat, 17 Feb 2024 16:05:52 +0530 Subject: [PATCH] + Adds: publishing viewmodel to the ViewModelModule --- .../org/wordpress/android/modules/ViewModelModule.java | 7 +++++++ 1 file changed, 7 insertions(+) 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); + }