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

Fix modification on bottom sheet's data when coming from Nearby Banner and clicked on other pins #5937

Merged
merged 6 commits into from
Nov 28, 2024

Conversation

rohit9625
Copy link
Contributor

Description (required)

Fixes #5827

What changes did you make and why?

  1. I removed the call to highlightNearestPlace() method from getIconFor() method. getIconFor() calls whenever we clicked on a pin resulting in highlighting the nearest place every time.
  2. Fix the icon not showing issue when coming from Nearby Banner.

Tests performed (required)

Tested ProdDebug on Samsung A14 with API level 34.

Screenshots (for UI changes only)
Before:

Before_Nearby_Fix.mp4

After:

After_Nearby_Fix.mp4

@rohit9625
Copy link
Contributor Author

Hey @nicolas-raoul,

I’d like to open a draft PR for the migration of the Custom Image Selector to Jetpack Compose. This migration will address several existing issues, including:

Would it be a good idea to create a parent issue to encapsulate these related child issues?
Let me know your thoughts :)

@nicolas-raoul
Copy link
Member

@rohit9625 Yes good idea, thanks a lot, that sounds fantastic! 🙂

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.

Tested with and without, this fixes the issue!

@nicolas-raoul nicolas-raoul merged commit 794dbb8 into commons-app:main Nov 28, 2024
1 check passed
@rohit9625 rohit9625 deleted the nearby-bug-fix branch November 28, 2024 18:27
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.

When coming from nearby banner, Nearby pin details of other pins get modified
2 participants