mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +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() {
|
public void onPositiveResponse() {
|
||||||
Timber.d("positive response from similar image fragment");
|
Timber.d("positive response from similar image fragment");
|
||||||
presenter.useSimilarPictureCoordinates(similarImageCoordinates, callback.getIndexInViewFlipper(UploadMediaDetailFragment.this));
|
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
|
@Override
|
||||||
|
|
|
||||||
|
|
@ -750,4 +750,5 @@ Upload your first media by tapping on the add button.</string>
|
||||||
<string name="full_screen_mode_zoom_info">Use two fingers to zoom in and out.</string>
|
<string name="full_screen_mode_zoom_info">Use two fingers to zoom in and out.</string>
|
||||||
<string name="full_screen_mode_features_info">Swipe fast and long to perform these actions: \n- Left/Right: Go to previous/next \n- Up: Select\n- Down: Mark as not for upload.</string>
|
<string name="full_screen_mode_features_info">Swipe fast and long to perform these actions: \n- Left/Right: Go to previous/next \n- Up: Select\n- Down: Mark as not for upload.</string>
|
||||||
<string name="set_up_avatar_toast_string">To set up your leaderboard avatar, tap \"Set as avatar\" in the three-dots menu of any image.</string>
|
<string name="set_up_avatar_toast_string">To set up your leaderboard avatar, tap \"Set as avatar\" in the three-dots menu of any image.</string>
|
||||||
|
<string name="similar_coordinate_description_auto_set">The coordinates are not the exact coordinates, but the person who uploaded this picture thinks they are close enough.</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue