mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Prepare Dark Theme
Remove the [UIApplication statusBarHidden] use (deprecated since iOS 9). Use the default UIViewController-based status bar system. Hide the user interface theme option in Settings. https://github.com/vector-im/riot-meta/issues/22
This commit is contained in:
@@ -73,8 +73,9 @@ enum
|
||||
enum
|
||||
{
|
||||
USER_INTERFACE_LANGUAGE_INDEX = 0,
|
||||
USER_INTERFACE_THEME_INDEX,
|
||||
USER_INTERFACE_COUNT
|
||||
// USER_INTERFACE_THEME_INDEX,
|
||||
USER_INTERFACE_COUNT,
|
||||
USER_INTERFACE_THEME_INDEX
|
||||
};
|
||||
|
||||
enum
|
||||
@@ -301,7 +302,12 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
[self refreshSettings];
|
||||
}
|
||||
|
||||
[[UIApplication sharedApplication] setStatusBarStyle:kRiotDesignStatusBarStyle animated:NO];
|
||||
[self setNeedsStatusBarAppearanceUpdate];
|
||||
}
|
||||
|
||||
- (UIStatusBarStyle)preferredStatusBarStyle
|
||||
{
|
||||
return kRiotDesignStatusBarStyle;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
|
||||
Reference in New Issue
Block a user