Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gutenberg] Disable calling the themes endpoint #21032

Merged
merged 3 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3891,11 +3891,8 @@ class EditPostActivity : LocaleAwareActivity(), EditorFragmentActivity, EditorIm
}

private fun refreshEditorTheme() {
val shouldLoadBlockEditorThemeData = siteModel.isWPCom || siteModel.isWPComAtomic || isJetpackSsoEnabled
if (shouldLoadBlockEditorThemeData) {
val payload = FetchEditorThemePayload(siteModel, globalStyleSupportFeatureConfig.isEnabled())
dispatcher.dispatch(EditorThemeActionBuilder.newFetchEditorThemeAction(payload))
}
val payload = FetchEditorThemePayload(siteModel, globalStyleSupportFeatureConfig.isEnabled())
dispatcher.dispatch(EditorThemeActionBuilder.newFetchEditorThemeAction(payload))
}

@Suppress("unused")
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ext {
automatticAboutVersion = '1.4.0'
automatticRestVersion = '1.0.8'
automatticTracksVersion = '5.1.0'
gutenbergMobileVersion = 'v1.120.1'
gutenbergMobileVersion = 'v1.121.0-alpha1-test'
geriux marked this conversation as resolved.
Show resolved Hide resolved
wordPressAztecVersion = 'v2.1.3'
wordPressFluxCVersion = 'trunk-79f2bc35285748c715e00f2a6648ed6831632178'
wordPressLoginVersion = '1.16.0'
Expand Down
Loading