[iOS] fix "show on map" after downloading guide from gallery

https://jira.mail.ru/browse/MAPSME-14194
This commit is contained in:
Aleksey Belousov 2020-06-25 18:41:34 +03:00 committed by Vladimir Byko-Ianko
parent 187309e135
commit f244fdd545

View file

@ -610,6 +610,7 @@ NSString *const kPP2BookmarkEditingSegue = @"PP2BookmarkEditing";
alert.onViewBlock = ^{
[self dismissViewControllerAnimated:YES completion:nil];
[self.navigationController popToRootViewControllerAnimated:YES];
GetFramework().DeactivateMapSelection(true);
GetFramework().ShowBookmarkCategory(categoryId);
};
alert.onCancelBlock = ^{