mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03: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());
|
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user