Skip to content

Conversation

sonalyadav1
Copy link
Contributor

Description (required)

Fixes #6379

What changes did you make and why?
1)Updated the NearbyResultItem model to correctly map the label field from the API response using @SerializedName("label").

2)This ensures that the place name is properly parsed and displayed in the Nearby popup and related UI.

Tests performed (required)

Tested {build variant, ProdDebug} on {VIVO V25} with API level {35}.

Copy link

✅ Generated APK variants!

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not actually tried a Nearby upload, will try tomorrow, but place name is correctly displayed. :-)
Thanks a lot!

@nicolas-raoul nicolas-raoul merged commit 90ab7a2 into commons-app:main Jul 25, 2025
1 check passed
@nicolas-raoul nicolas-raoul mentioned this pull request Jul 25, 2025
@nicolas-raoul
Copy link
Member

nicolas-raoul commented Jul 26, 2025

Actually Nearby does not work anymore with this commit, labels are not shown for any pin, and many pins stay grey (presumably pins that should be red) 😱

@nicolas-raoul
Copy link
Member

I created #6383

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.

Nearby place name missing in "Nearby Place Found" popup
2 participants