Skip to content

Commit 43a17b5

Browse files
committed
refactor: Remove unnecessary code
The majority--if not all--of this code is unused by GutenbergKit. No-op methods were retained to satisfy the requirements of the class shared between Gutenberg Mobile and GutenbergKit.
1 parent 4b67a37 commit 43a17b5

File tree

2 files changed

+9
-647
lines changed

2 files changed

+9
-647
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,6 @@ class EditPostActivity : LocaleAwareActivity(), EditorFragmentActivity, EditorIm
24262426
}
24272427

24282428
val isWpCom = site.isWPCom || siteModel.isPrivateWPComAtomic || siteModel.isWPComAtomic
2429-
val gutenbergPropsBuilder = gutenbergPropsBuilder
24302429
val gutenbergWebViewAuthorizationData = GutenbergWebViewAuthorizationData(
24312430
siteModel.url,
24322431
isWpCom,
@@ -2464,7 +2463,6 @@ class EditPostActivity : LocaleAwareActivity(), EditorFragmentActivity, EditorIm
24642463
getContext(),
24652464
isNewPost,
24662465
gutenbergWebViewAuthorizationData,
2467-
gutenbergPropsBuilder,
24682466
jetpackFeatureRemovalPhaseHelper.shouldShowJetpackPoweredEditorFeatures(),
24692467
settings
24702468
)

0 commit comments

Comments
 (0)