forked from organicmaps/organicmaps
Not showing banner if it's my position.
This commit is contained in:
parent
28b094cb73
commit
9ab22f3d3c
1 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,9 @@ string Info::GetApproximatePricing() const
|
|||
|
||||
bool Info::HasBanner() const
|
||||
{
|
||||
if (IsMyPosition())
|
||||
return false;
|
||||
|
||||
return facebook::Ads::Instance().HasBanner(m_types);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue