forked from organicmaps/organicmaps
[ios] Don't show rate alert while routing.
This commit is contained in:
parent
2a27a73c13
commit
b5370a9e58
1 changed files with 1 additions and 3 deletions
|
@ -855,8 +855,6 @@ using namespace osm_auth_ios;
|
|||
|
||||
- (void)showAlertIfRequired
|
||||
{
|
||||
if (GetFramework().IsRoutingActive())
|
||||
return;
|
||||
if ([self shouldShowRateAlert])
|
||||
[self performSelector:@selector(showRateAlert) withObject:nil afterDelay:30.0];
|
||||
else if ([self shouldShowFacebookAlert])
|
||||
|
@ -865,7 +863,7 @@ using namespace osm_auth_ios;
|
|||
|
||||
- (void)showAlert:(BOOL)isRate
|
||||
{
|
||||
if (!Platform::IsConnected())
|
||||
if (!Platform::IsConnected() || GetFramework().IsRoutingActive())
|
||||
return;
|
||||
|
||||
if (isRate)
|
||||
|
|
Loading…
Add table
Reference in a new issue