forked from organicmaps/organicmaps
[ios] Fixed duplicate migration controller open on fast scroll.
This commit is contained in:
parent
df92e2c6e9
commit
8b326b45f8
1 changed files with 2 additions and 0 deletions
|
@ -598,6 +598,8 @@ NSString * const kEditorSegue = @"Map2EditorSegue";
|
|||
|
||||
- (void)processViewportCountryEvent:(TCountryId const &)countryId
|
||||
{
|
||||
if (![self.navigationController.topViewController isEqual:self])
|
||||
return;
|
||||
if (countryId != kInvalidCountryId && platform::migrate::NeedMigrate())
|
||||
[self performSegueWithIdentifier:kMigrationSegue sender:self];
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue