Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced the 'Add location' button with 'Edit location' button when user clicks yes in similar image dialog #5756

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

AdamTWEnglish
Copy link
Contributor

Description
There was an Issue to change the name of the 'add location' button's text to 'edit location' if the user was copying the location of a recently uploaded image.

Fixes: #5669

What changes did you make and why?
We were able to do this by editing "UploadMediaDetailFragment.java". We wrote code that replaced the button if the user clicks yes for the similar image dialog, which fixed the issue.

Tests performed
We followed the guide given in the issue to reproduce the results and when we performed them with the newly written code, it produced the expected behavior.

Tested betaDebug on Pixel 8 with API level 34.

Screenshot
Issue_5669

…cation' button when user clicks yes in similar image dialog
@nicolas-raoul nicolas-raoul merged commit c2ac0f6 into commons-app:main Jun 15, 2024
1 check passed
@nicolas-raoul
Copy link
Member

Thanks! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants