diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-01-20 17:54:24 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-01-20 17:56:01 +0300 |
commit | 5e14c072faf544f3f8758b016b7ccce09de940a2 (patch) | |
tree | d4705a9e0bc11b42171d8e30594f438d6e7e38ed /iphone/Maps/Settings | |
parent | fbbf28bbd7da5372fe0673c49efb9395005eb5a3 (diff) |
[ios] Night mode bugfix.
Diffstat (limited to 'iphone/Maps/Settings')
-rw-r--r-- | iphone/Maps/Settings/SettingsViewController.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iphone/Maps/Settings/SettingsViewController.mm b/iphone/Maps/Settings/SettingsViewController.mm index 7a0c641f4b..b8802718f7 100644 --- a/iphone/Maps/Settings/SettingsViewController.mm +++ b/iphone/Maps/Settings/SettingsViewController.mm @@ -138,6 +138,8 @@ typedef NS_ENUM(NSUInteger, Section) bool on = true, _ = true; GetFramework().Load3dMode(_, on); customCell.titleLabel.text = L(@"pref_map_3d_buildings_title"); + customCell.switchButton.on = on; + customCell.delegate = self; break; } // Zoom buttons |