Fix styles on settings slideout on iOS 13

This commit is contained in:
Cameron Gutman
2019-08-30 17:16:56 -07:00
parent fd4ede58ca
commit 83479719a4
4 changed files with 29 additions and 8 deletions

View File

@@ -106,6 +106,11 @@ static const int bitrateTable[] = {
- (void)viewDidLoad {
[super viewDidLoad];
// Always run settings in dark mode because we want the light fonts
if (@available(iOS 12.0, tvOS 12.0, *)) {
self.overrideUserInterfaceStyle = UIUserInterfaceStyleDark;
}
DataManager* dataMan = [[DataManager alloc] init];
TemporarySettings* currentSettings = [dataMan getSettings];