diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-11-28 15:06:10 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-11-28 16:00:06 +0300 |
commit | eef657c692328af61a33124f306e7290de345d4e (patch) | |
tree | 6d0043652e5636496251172597a6215c41d10daa /iphone/Maps/Settings | |
parent | fa1f7a6bd1400774f4f8d246dc8c751d5c9f1db9 (diff) |
[MAPSME-2994] Review fixes.
Diffstat (limited to 'iphone/Maps/Settings')
-rw-r--r-- | iphone/Maps/Settings/MWMSettingsViewController.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/iphone/Maps/Settings/MWMSettingsViewController.mm b/iphone/Maps/Settings/MWMSettingsViewController.mm index f21b314e04..b8f4828bc5 100644 --- a/iphone/Maps/Settings/MWMSettingsViewController.mm +++ b/iphone/Maps/Settings/MWMSettingsViewController.mm @@ -87,11 +87,11 @@ extern NSString * const kAlohalyticsTapEventKey; self.autoDownloadCell.delegate = self; NSString * internetLabel = nil; - switch (networking_policy::GetNetworkingPolicyState()) + switch (networking_policy::GetStage()) { - case networking_policy::NetworkingPolicyState::Always: internetLabel = L(@"pref_always"); break; - case networking_policy::NetworkingPolicyState::Session: internetLabel = L(@"pref_ask"); break; - case networking_policy::NetworkingPolicyState::Never: internetLabel = L(@"pref_never"); break; + case networking_policy::Stage::Always: internetLabel = L(@"pref_always"); break; + case networking_policy::Stage::Session: internetLabel = L(@"pref_ask"); break; + case networking_policy::Stage::Never: internetLabel = L(@"pref_never"); break; } self.mobileInternetCell.infoLabel.text = internetLabel; |