Override preferredStatusBarStyle for missing pages and ensure setNeedsStatusBarAppearanceUpdate will be called

Signed-off-by: ismailgulek <gulekismail@gmail.com>
This commit is contained in:
ismailgulek
2020-04-08 13:58:12 +03:00
parent 28bfb6c372
commit de418e3b09
34 changed files with 79 additions and 1 deletions
@@ -65,6 +65,13 @@
self.activityIndicator.backgroundColor = ThemeService.shared.theme.overlayBackgroundColor;
self.backButton.tintColor = ThemeService.shared.theme.tintColor;
[self setNeedsStatusBarAppearanceUpdate];
}
- (UIStatusBarStyle)preferredStatusBarStyle
{
return ThemeService.shared.theme.statusBarStyle;
}
- (void)viewWillAppear:(BOOL)animated