Skip to content

Commit 80956df

Browse files
author
Gerardo Pacheco
authored
Merge pull request #21032 from wordpress-mobile/gutenberg/fix-crashing-on-start
[Gutenberg] Disable calling the `themes` endpoint
2 parents 4f5ea84 + 9ea4bcf commit 80956df

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

WordPress/src/main/java/org/wordpress/android/ui/posts/EditPostActivity.kt

+2-5
Original file line numberDiff line numberDiff line change
@@ -3891,11 +3891,8 @@ class EditPostActivity : LocaleAwareActivity(), EditorFragmentActivity, EditorIm
38913891
}
38923892

38933893
private fun refreshEditorTheme() {
3894-
val shouldLoadBlockEditorThemeData = siteModel.isWPCom || siteModel.isWPComAtomic || isJetpackSsoEnabled
3895-
if (shouldLoadBlockEditorThemeData) {
3896-
val payload = FetchEditorThemePayload(siteModel, globalStyleSupportFeatureConfig.isEnabled())
3897-
dispatcher.dispatch(EditorThemeActionBuilder.newFetchEditorThemeAction(payload))
3898-
}
3894+
val payload = FetchEditorThemePayload(siteModel, globalStyleSupportFeatureConfig.isEnabled())
3895+
dispatcher.dispatch(EditorThemeActionBuilder.newFetchEditorThemeAction(payload))
38993896
}
39003897

39013898
@Suppress("unused")

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ext {
2424
automatticAboutVersion = '1.4.0'
2525
automatticRestVersion = '1.0.8'
2626
automatticTracksVersion = '5.1.0'
27-
gutenbergMobileVersion = 'v1.120.1'
27+
gutenbergMobileVersion = 'v1.121.0-alpha1'
2828
wordPressAztecVersion = 'v2.1.3'
2929
wordPressFluxCVersion = 'trunk-79f2bc35285748c715e00f2a6648ed6831632178'
3030
wordPressLoginVersion = '1.16.0'

0 commit comments

Comments
 (0)