@@ -44,7 +44,6 @@ import org.wordpress.android.ui.utils.UiString
44
44
import org.wordpress.android.util.AppLog
45
45
import org.wordpress.android.util.LocaleManagerWrapper
46
46
import org.wordpress.android.util.SiteUtils
47
- import org.wordpress.android.util.config.GlobalStyleSupportFeatureConfig
48
47
import org.wordpress.android.util.config.SiteEditorMVPFeatureConfig
49
48
import org.wordpress.android.util.extensions.toFormattedDateString
50
49
import org.wordpress.android.viewmodel.ScopedViewModel
@@ -70,7 +69,6 @@ class PageListViewModel @Inject constructor(
70
69
private val dispatcher : Dispatcher ,
71
70
private val localeManagerWrapper : LocaleManagerWrapper ,
72
71
private val accountStore : AccountStore ,
73
- private val globalStyleSupportFeatureConfig : GlobalStyleSupportFeatureConfig ,
74
72
private val editorThemeStore : EditorThemeStore ,
75
73
private val siteEditorMVPFeatureConfig : SiteEditorMVPFeatureConfig ,
76
74
private val blazeFeatureUtils : BlazeFeatureUtils ,
@@ -167,7 +165,7 @@ class PageListViewModel @Inject constructor(
167
165
isBlockBasedTheme.value = editorThemeStore.getIsBlockBasedTheme(pagesViewModel.site)
168
166
169
167
// Dispatch action to refresh the values from the remote
170
- FetchEditorThemePayload (pagesViewModel.site, globalStyleSupportFeatureConfig.isEnabled() ).let {
168
+ FetchEditorThemePayload (pagesViewModel.site, gssEnabled = true ).let {
171
169
dispatcher.dispatch(EditorThemeActionBuilder .newFetchEditorThemeAction(it))
172
170
}
173
171
}
0 commit comments