marinofaggiana пре 5 година
родитељ
комит
6c95a98c74
1 измењених фајлова са 1 додато и 1 уклоњено
  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) {