@@ -109,15 +109,13 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment implements
109
109
110
110
public static MediaDetailFragment forMedia (int index , boolean editable , boolean isCategoryImage , boolean isWikipediaButtonDisplayed ) {
111
111
MediaDetailFragment mf = new MediaDetailFragment ();
112
-
113
112
Bundle state = new Bundle ();
114
113
state .putBoolean ("editable" , editable );
115
114
state .putBoolean ("isCategoryImage" , isCategoryImage );
116
115
state .putInt ("index" , index );
117
116
state .putInt ("listIndex" , 0 );
118
117
state .putInt ("listTop" , 0 );
119
118
state .putBoolean ("isWikipediaButtonDisplayed" , isWikipediaButtonDisplayed );
120
-
121
119
mf .setArguments (state );
122
120
123
121
return mf ;
@@ -201,6 +199,8 @@ public static MediaDetailFragment forMedia(int index, boolean editable, boolean
201
199
RecyclerView categoryRecyclerView ;
202
200
@ BindView (R .id .update_categories_button )
203
201
Button updateCategoriesButton ;
202
+ @ BindView (R .id .coordinate_edit )
203
+ Button coordinateEditButton ;
204
204
@ BindView (R .id .dummy_category_edit_container )
205
205
LinearLayout dummyCategoryEditContainer ;
206
206
@ BindView (R .id .pb_categories )
@@ -320,6 +320,7 @@ && getParentFragment() instanceof MediaDetailPagerFragment) {
320
320
321
321
if (applicationKvStore .getBoolean ("login_skipped" )){
322
322
delete .setVisibility (GONE );
323
+ coordinateEditButton .setVisibility (GONE );
323
324
}
324
325
325
326
handleBackEvent (view );
0 commit comments