diff --git a/iphone/Maps/UI/Settings/MWMAboutController.mm b/iphone/Maps/UI/Settings/MWMAboutController.mm index bfd15c72a6..425fb9499b 100644 --- a/iphone/Maps/UI/Settings/MWMAboutController.mm +++ b/iphone/Maps/UI/Settings/MWMAboutController.mm @@ -19,6 +19,7 @@ extern NSString * const kAlohalyticsTapEventKey; @property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * facebookCell; @property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * twitterCell; @property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * subscribeCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * osmCell; @property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * rateCell; @property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * copyrightCell; @@ -72,6 +73,11 @@ extern NSString * const kAlohalyticsTapEventKey; subject:L(@"subscribe_me_subject") toRecipient:@"subscribe@maps.me"]; } + else if (cell == self.osmCell) + { + [Alohalytics logEvent:kAlohalyticsTapEventKey withValue:@"osm"]; + [self openUrl:[NSURL URLWithString:@"https://www.openstreetmap.org"]]; + } else if (cell == self.rateCell) { [Statistics logEvent:kStatSettingsOpenSection withParameters:@{kStatName : kStatRate}]; diff --git a/iphone/Maps/UI/Storyboard/Settings.storyboard b/iphone/Maps/UI/Storyboard/Settings.storyboard index 75f11476e2..9df6d3431d 100644 --- a/iphone/Maps/UI/Storyboard/Settings.storyboard +++ b/iphone/Maps/UI/Storyboard/Settings.storyboard @@ -1463,12 +1463,39 @@ + + + + + + + + + + + + + + + + + + - + @@ -1500,7 +1527,7 @@ - + @@ -1538,6 +1565,7 @@ +