mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[android] disable begging message on placepage
Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
committed by
Konstantin Pastbin
parent
ce6604334b
commit
8e03269e38
@@ -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());
|
||||
}
|
||||
|
||||
private boolean hasProductsEntry()
|
||||
{
|
||||
return Framework.nativeShouldShowProducts();
|
||||
}
|
||||
// private boolean hasProductsEntry()
|
||||
// {
|
||||
// return Framework.nativeShouldShowProducts();
|
||||
// }
|
||||
|
||||
private void updateProductsView()
|
||||
{
|
||||
var hasProductsEntry = hasProductsEntry();
|
||||
|
||||
updateViewFragment(PlacePageProductsFragment.class, PRODUCTS_FRAGMENT_TAG, R.id.place_page_products_fragment, hasProductsEntry);
|
||||
}
|
||||
// private void updateProductsView()
|
||||
// {
|
||||
// var hasProductsEntry = hasProductsEntry();
|
||||
//
|
||||
// updateViewFragment(PlacePageProductsFragment.class, PRODUCTS_FRAGMENT_TAG, R.id.place_page_products_fragment, hasProductsEntry);
|
||||
// }
|
||||
|
||||
private void setTextAndColorizeSubtitle()
|
||||
{
|
||||
@@ -496,7 +496,7 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
|
||||
}
|
||||
updateLinksView();
|
||||
updateOpeningHoursView();
|
||||
updateProductsView();
|
||||
//updateProductsView(); Disable begging message on placepage
|
||||
updateWikipediaView();
|
||||
updateBookmarkView();
|
||||
updatePhoneView();
|
||||
|
||||
Reference in New Issue
Block a user