mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 05:43:55 +01:00
fixed: When the coordinates have been copied from another picture, explain it in description #4700 (#5166)
Very useful contribution, thanks Arman!
This commit is contained in:
parent
caab97b341
commit
b048e099c0
2 changed files with 8 additions and 0 deletions
|
|
@ -246,6 +246,13 @@ public class UploadMediaDetailFragment extends UploadBaseFragment implements
|
|||
public void onPositiveResponse() {
|
||||
Timber.d("positive response from similar image fragment");
|
||||
presenter.useSimilarPictureCoordinates(similarImageCoordinates, callback.getIndexInViewFlipper(UploadMediaDetailFragment.this));
|
||||
|
||||
// set the description text when user selects to use coordinate from the other image
|
||||
// which was taken within 20s
|
||||
// fixing: https://github.com/commons-app/apps-android-commons/issues/4700
|
||||
uploadMediaDetailAdapter.getItems().get(0).setDescriptionText(
|
||||
getString(R.string.similar_coordinate_description_auto_set));
|
||||
updateMediaDetails(uploadMediaDetailAdapter.getItems());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue