refactor and fix icon issue when coming from nearby banner

This commit is contained in:
Rohit Verma 2024-11-17 18:57:13 +05:30
parent e15d17aa27
commit c14318f908
2 changed files with 2 additions and 1 deletions

View file

@ -2004,6 +2004,7 @@ public class NearbyParentFragment extends CommonsDaggerSupportFragment
* @param nearestPlace nearest place, which has to be highlighted
*/
private void highlightNearestPlace(final Place nearestPlace) {
binding.bottomSheetDetails.icon.setVisibility(View.VISIBLE);
passInfoToSheet(nearestPlace);
hideBottomSheet();
bottomSheetDetailsBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);

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"