diff options
author | Aleksey Belouosv <aleksey@maps.me> | 2019-04-26 16:25:10 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2019-05-08 16:49:33 +0300 |
commit | 901c04259560ba8777320a9d23582c9546af68c0 (patch) | |
tree | 620ce4574cdeebb82a84bd8809ba32663b89d01b /iphone | |
parent | c0db24e0546089807576c8f8c5b92ca028912942 (diff) |
[iOS] fix crash when entering catalog
https://jira.mail.ru/browse/MAPSME-10410
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/Classes/MapViewController.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/MapViewController.mm b/iphone/Maps/Classes/MapViewController.mm index ba33d313e5..fd279ded2e 100644 --- a/iphone/Maps/Classes/MapViewController.mm +++ b/iphone/Maps/Classes/MapViewController.mm @@ -500,7 +500,7 @@ BOOL gIsFirstMyPositionMode = YES; if (deeplinkUrl) catalog = [[MWMCatalogWebViewController alloc] init:deeplinkUrl]; else - catalog = [[MWMCatalogWebViewController alloc] init]; + catalog = [[MWMCatalogWebViewController alloc] init:nil]; NSMutableArray<UIViewController *> * controllers = [self.navigationController.viewControllers mutableCopy]; [controllers addObjectsFromArray:@[bookmarks, catalog]]; |