[android] disable begging message on placepage

Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
Harry Bond
2025-04-16 01:34:00 +01:00
committed by Konstantin Pastbin
parent ce6604334b
commit 8e03269e38

View File

@@ -391,17 +391,17 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
updateViewFragment(PlacePageWikipediaFragment.class, WIKIPEDIA_FRAGMENT_TAG, R.id.place_page_wikipedia_fragment, hasWikipediaEntry()); updateViewFragment(PlacePageWikipediaFragment.class, WIKIPEDIA_FRAGMENT_TAG, R.id.place_page_wikipedia_fragment, hasWikipediaEntry());
} }
private boolean hasProductsEntry() // private boolean hasProductsEntry()
{ // {
return Framework.nativeShouldShowProducts(); // return Framework.nativeShouldShowProducts();
} // }
private void updateProductsView() // private void updateProductsView()
{ // {
var hasProductsEntry = hasProductsEntry(); // var hasProductsEntry = hasProductsEntry();
//
updateViewFragment(PlacePageProductsFragment.class, PRODUCTS_FRAGMENT_TAG, R.id.place_page_products_fragment, hasProductsEntry); // updateViewFragment(PlacePageProductsFragment.class, PRODUCTS_FRAGMENT_TAG, R.id.place_page_products_fragment, hasProductsEntry);
} // }
private void setTextAndColorizeSubtitle() private void setTextAndColorizeSubtitle()
{ {
@@ -496,7 +496,7 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
} }
updateLinksView(); updateLinksView();
updateOpeningHoursView(); updateOpeningHoursView();
updateProductsView(); //updateProductsView(); Disable begging message on placepage
updateWikipediaView(); updateWikipediaView();
updateBookmarkView(); updateBookmarkView();
updatePhoneView(); updatePhoneView();