forked from organicmaps/organicmaps
Merge pull request #3920 from igrechuhin/MAPSME-1832
[ios] Fixed viral alert display behavior.
This commit is contained in:
commit
8590ca446e
1 changed files with 1 additions and 6 deletions
|
@ -272,11 +272,6 @@ BOOL gIsFirstMyPositionMode = YES;
|
|||
GetFramework().InvalidateRendering();
|
||||
[self showWelcomeScreenIfNeeded];
|
||||
[self showViralAlertIfNeeded];
|
||||
}
|
||||
|
||||
- (void)viewDidAppear:(BOOL)animated
|
||||
{
|
||||
[super viewDidAppear:animated];
|
||||
[self checkAuthorization];
|
||||
}
|
||||
|
||||
|
@ -334,7 +329,7 @@ BOOL gIsFirstMyPositionMode = YES;
|
|||
!AuthorizationHaveCredentials())
|
||||
return;
|
||||
|
||||
if (osm::Editor::Instance().GetStats().m_edits.size() != 2)
|
||||
if (osm::Editor::Instance().GetStats().m_edits.size() < 2)
|
||||
return;
|
||||
|
||||
if (!Platform::IsConnected())
|
||||
|
|
Loading…
Add table
Reference in a new issue