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 eda16c3d03
commit 8f2df22c52
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