diff --git a/iphone/Maps/Classes/MapViewController.mm b/iphone/Maps/Classes/MapViewController.mm index 95e2fcb6e2..1f0e4da707 100644 --- a/iphone/Maps/Classes/MapViewController.mm +++ b/iphone/Maps/Classes/MapViewController.mm @@ -556,7 +556,7 @@ NSString * const kAuthorizationSegue = @"Map2AuthorizationSegue"; } else { - [self checkMigrationAndCallBlock:[self, idx, opt] + [self checkMigrationAndCallBlock:^ { ActiveMapsLayout & layout = GetFramework().GetCountryTree().GetActiveMapLayout(); LocalAndRemoteSizeT sizes = layout.GetRemoteCountrySizes(idx);