mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Fix split view controller status bar style when is not collapsed. Fix #2276.
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
|
||||
#import "RiotSplitViewController.h"
|
||||
#import "ThemeService.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
@implementation RiotSplitViewController
|
||||
|
||||
@@ -36,8 +38,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Keep the default UISplitViewController style.
|
||||
return [super preferredStatusBarStyle];
|
||||
// Use theme status bar style
|
||||
return ThemeService.shared.theme.statusBarStyle;
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden
|
||||
|
||||
Reference in New Issue
Block a user