From 8a866424f3c96041c9234b82a80f77066ad57c3a Mon Sep 17 00:00:00 2001 From: VladiMihaylenko Date: Fri, 18 Mar 2016 17:36:13 +0300 Subject: [PATCH] [ios] Fixed status bar in editor. --- .../Classes/Editor/Cuisine/MWMCuisineEditorViewController.mm | 5 +++++ .../Classes/Editor/MWMObjectsCategorySelectorController.mm | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/iphone/Maps/Classes/Editor/Cuisine/MWMCuisineEditorViewController.mm b/iphone/Maps/Classes/Editor/Cuisine/MWMCuisineEditorViewController.mm index a2eceda025..bc62d1d7e9 100644 --- a/iphone/Maps/Classes/Editor/Cuisine/MWMCuisineEditorViewController.mm +++ b/iphone/Maps/Classes/Editor/Cuisine/MWMCuisineEditorViewController.mm @@ -42,6 +42,11 @@ vector SliceKeys(vector> const & v) [self configData]; } +- (UIStatusBarStyle)preferredStatusBarStyle +{ + return UIStatusBarStyleLightContent; +} + #pragma mark - UISearchBarDelegate - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText diff --git a/iphone/Maps/Classes/Editor/MWMObjectsCategorySelectorController.mm b/iphone/Maps/Classes/Editor/MWMObjectsCategorySelectorController.mm index 09f614b46c..4cf6790471 100644 --- a/iphone/Maps/Classes/Editor/MWMObjectsCategorySelectorController.mm +++ b/iphone/Maps/Classes/Editor/MWMObjectsCategorySelectorController.mm @@ -74,6 +74,11 @@ namespace [super backTap]; } +- (UIStatusBarStyle)preferredStatusBarStyle +{ + return UIStatusBarStyleLightContent; +} + - (void)configNavBar { self.title = L(@"editor_add_select_category");