Browse Source

dark mode

marinofaggiana 5 years ago
parent
commit
6c95a98c74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Main/CCSplit.m

+ 1 - 1
iOSClient/Main/CCSplit.m

@@ -273,7 +273,7 @@
     BOOL isRunningInFullScreen = CGRectEqualToRect([UIApplication sharedApplication].delegate.window.frame, [UIApplication sharedApplication].delegate.window.screen.bounds);
     
     // detect Dark Mode
-    if (@available(iOS 12.0, *)) {
+    if (@available(iOS 13.0, *)) {
         appDelegate.preferredUserInterfaceStyle = self.traitCollection.userInterfaceStyle;
         if ([CCUtility getDarkModeDetect]) {
             if (appDelegate.preferredUserInterfaceStyle == UIUserInterfaceStyleDark) {