diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-10-20 17:23:55 +0300 |
---|---|---|
committer | Yuri Gorshenin <mipt.vi002@gmail.com> | 2017-10-23 14:40:45 +0300 |
commit | 7585a2c1e11e82a904c3024181a3b5ece49f7617 (patch) | |
tree | 7210aa3fd6dcfeb0334bd9a310326f29fafdcb7c /iphone | |
parent | 652a1c538fca7d114c6b6ecd1b2c305a80752cc8 (diff) |
Refactored (a bit) user mark containers
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMAPIBar.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMAPIBar.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMAPIBar.mm index d976f1455b..4ca4741e26 100644 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMAPIBar.mm +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/APIBar/MWMAPIBar.mm @@ -55,7 +55,7 @@ static NSString * const kKeyPath = @"subviews"; [Statistics logEvent:kStatEventName(kStatAPI, kStatBack)]; Framework & f = GetFramework(); f.DeactivateMapSelection(true); - UserMarkNotificationGuard guard(f.GetBookmarkManager(), UserMarkType::API_MARK); + UserMarkNotificationGuard guard(f.GetBookmarkManager(), UserMark::Type::API); guard.m_controller.Clear(); self.isVisible = NO; NSURL * url = [NSURL URLWithString:@(f.GetApiDataHolder().GetGlobalBackUrl().c_str())]; |