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

* refactor getIconFor method and remove call to highlightNearestPlace()

It ensures single responsibility on getIconFor method

* refactor and fix icon issue when coming from nearby banner

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
This commit is contained in:
Rohit Verma 2024-11-28 14:07:56 +05:30 committed by GitHub
parent 0c969c365b
commit 794dbb8f92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 19 deletions

View file

@ -32,7 +32,7 @@
android:layout_width="@dimen/dimen_40"
android:layout_height="@dimen/dimen_40"
android:layout_marginLeft="@dimen/standard_gap"
android:visibility="gone"></ImageView>
android:visibility="gone" />
<LinearLayout
android:id="@+id/wikiDataLl"