[android] hided search similar hotel button

context Signed-off-by: Altynaika <altynaika.toktomuratovaa@gmail.com>
This commit is contained in:
Altynaika 2021-02-22 20:00:16 +06:00 committed by Roman Tsisyk
parent 29ccef4949
commit 79efbbe8d5
2 changed files with 3 additions and 2 deletions

View file

@ -203,7 +203,8 @@
android:layout_marginEnd="@dimen/margin_base"
android:layout_marginRight="@dimen/margin_base"
android:text="@string/place_page_search_similar_hotel"
tools:text="@string/authorization_button_sign_in"/>
tools:text="@string/authorization_button_sign_in"
android:visibility="gone"/>
<FrameLayout
android:id="@+id/banner_container"

View file

@ -1362,7 +1362,7 @@ public class PlacePageView extends NestedScrollViewClickFixed
boolean sponsored = isSponsored();
UiUtils.showIf(sponsored || mapObject.shouldShowUGC(), mPreviewRatingInfo);
UiUtils.showIf(sponsored, mHotelDiscount);
UiUtils.showIf(mapObject.getHotelType() != null, mPreview, R.id.search_hotels_btn);
// UiUtils.showIf(mapObject.getHotelType() != null, mPreview, R.id.search_hotels_btn);
if (sponsored)
refreshSponsoredViews(mapObject, priceInfo);
}