Skip to content

Commit e3e97aa

Browse files
committed
Removes unused title and content arguments
1 parent 6226ba6 commit e3e97aa

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2384,8 +2384,6 @@ public Fragment getItem(int position) {
23842384

23852385
return GutenbergEditorFragment.newInstance(
23862386
WordPress.getContext(),
2387-
"",
2388-
"",
23892387
mIsNewPost,
23902388
gutenbergWebViewAuthorizationData,
23912389
gutenbergPropsBuilder,

libs/editor/src/main/java/org/wordpress/android/editor/gutenberg/GutenbergEditorFragment.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,13 @@ public class GutenbergEditorFragment extends EditorFragmentAbstract implements
163163
private ProgressDialog mSavingContentProgressDialog;
164164

165165
public static GutenbergEditorFragment newInstance(Context context,
166-
String title,
167-
String content,
168166
boolean isNewPost,
169167
GutenbergWebViewAuthorizationData webViewAuthorizationData,
170168
GutenbergPropsBuilder gutenbergPropsBuilder,
171169
int storyBlockEditRequestCode,
172170
boolean jetpackFeaturesEnabled) {
173171
GutenbergEditorFragment fragment = new GutenbergEditorFragment();
174172
Bundle args = new Bundle();
175-
args.putString(ARG_PARAM_TITLE, title);
176-
args.putString(ARG_PARAM_CONTENT, content);
177173
args.putBoolean(ARG_IS_NEW_POST, isNewPost);
178174
args.putInt(ARG_STORY_EDITOR_REQUEST_CODE, storyBlockEditRequestCode);
179175
args.putBoolean(ARG_JETPACK_FEATURES_ENABLED, jetpackFeaturesEnabled);

0 commit comments

Comments
 (0)