Browse Source

dark mode

marinofaggiana 5 năm trước cách đây
mục cha
commit
6c95a98c74
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {