Fix split view controller status bar style when is not collapsed. Fix #2276.

This commit is contained in:
SBiOSoftWhare
2019-02-20 14:54:24 +01:00
parent fac8a3fb3b
commit 2ead5f0e89
+4 -2
View File
@@ -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