Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2015-12-22 17:43:46 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2015-12-29 16:42:42 +0300
commit2e1e8e1de2832c4baff0890165ff6f4935004824 (patch)
tree6047f8243330651569757e5200cde2dfc0919d0e /iphone/Maps/Settings
parentaa5b6559903a939c416ebcc451cddeb7652455de (diff)
[ios] Added logging.
Diffstat (limited to 'iphone/Maps/Settings')
-rw-r--r--iphone/Maps/Settings/SettingsViewController.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/iphone/Maps/Settings/SettingsViewController.mm b/iphone/Maps/Settings/SettingsViewController.mm
index b4c48b097b..7670d76314 100644
--- a/iphone/Maps/Settings/SettingsViewController.mm
+++ b/iphone/Maps/Settings/SettingsViewController.mm
@@ -259,6 +259,8 @@ Settings::Units unitsForIndex(NSInteger index)
case SectionRouting:
if (indexPath.row == 0)
{
+ [[Statistics instance] logEvent:kStatEventName(kStatSettings, kStatMapViewStyle)
+ withParameters:@{kStatAction : kStatChangeMapViewStyle}];
[self performSegueWithIdentifier:@"SettingsToMapViewSegue" sender:nil];
}
else if (indexPath.row == 2)