File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
app/src/main/java/fr/free/nrw/commons/upload/mediaDetails Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -333,6 +333,13 @@ public void onPositiveResponse() {
333
333
uploadMediaDetailAdapter .getItems ().get (0 ).setDescriptionText (
334
334
getString (R .string .similar_coordinate_description_auto_set ));
335
335
updateMediaDetails (uploadMediaDetailAdapter .getItems ());
336
+
337
+ // Replace the 'Add location' button with 'Edit location' button when user clicks
338
+ // yes in similar image dialog
339
+ // fixing: https://github.com/commons-app/apps-android-commons/issues/5669
340
+ Drawable mapTick = getResources ().getDrawable (R .drawable .ic_map_available_20dp );
341
+ binding .locationImageView .setImageDrawable (mapTick );
342
+ binding .locationTextView .setText (R .string .edit_location );
336
343
}
337
344
338
345
@ Override
You can’t perform that action at this time.
0 commit comments