We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68df749 commit c2ac0f6Copy full SHA for c2ac0f6
app/src/main/java/fr/free/nrw/commons/upload/mediaDetails/UploadMediaDetailFragment.java
@@ -333,6 +333,13 @@ public void onPositiveResponse() {
333
uploadMediaDetailAdapter.getItems().get(0).setDescriptionText(
334
getString(R.string.similar_coordinate_description_auto_set));
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);
343
}
344
345
@Override
0 commit comments