Просмотр исходного кода

feat: 强制应用仅支持浅色主题

陈文艺 1 месяц назад
Родитель
Сommit
2064e6c8fe
2 измененных файлов с 1 добавлено и 4 удалено
  1. 0 4
      Lanu.xcodeproj/project.pbxproj
  2. 1 0
      Lanu/SceneDelegate.swift

+ 0 - 4
Lanu.xcodeproj/project.pbxproj

@@ -21,8 +21,6 @@
 /* End PBXBuildFile section */
 
 /* Begin PBXFileReference section */
-		006A9E8625309678F4BEF8AB /* Pods-Lanu.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Lanu.release.xcconfig"; path = "Target Support Files/Pods-Lanu/Pods-Lanu.release.xcconfig"; sourceTree = "<group>"; };
-		036D0D2B175E726D1FD387A9 /* Pods-Lanu.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Lanu.debug.xcconfig"; path = "Target Support Files/Pods-Lanu/Pods-Lanu.debug.xcconfig"; sourceTree = "<group>"; };
 		B28FA2B72A322804F16B3840 /* Pods-Gami.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Gami.debug.xcconfig"; path = "Target Support Files/Pods-Gami/Pods-Gami.debug.xcconfig"; sourceTree = "<group>"; };
 		B972432FB2D1B371EED40D9C /* Pods-Gami.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Gami.release.xcconfig"; path = "Target Support Files/Pods-Gami/Pods-Gami.release.xcconfig"; sourceTree = "<group>"; };
 		C4E0C09312B6CA8A283AD62F /* Pods_Gami.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Gami.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -382,8 +380,6 @@
 		3BCF7245871F5939F104E2E4 /* Pods */ = {
 			isa = PBXGroup;
 			children = (
-				036D0D2B175E726D1FD387A9 /* Pods-Lanu.debug.xcconfig */,
-				006A9E8625309678F4BEF8AB /* Pods-Lanu.release.xcconfig */,
 				B28FA2B72A322804F16B3840 /* Pods-Gami.debug.xcconfig */,
 				B972432FB2D1B371EED40D9C /* Pods-Gami.release.xcconfig */,
 			);

+ 1 - 0
Lanu/SceneDelegate.swift

@@ -27,6 +27,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
         
         window = UIWindow(windowScene: sceneWindow)
         window?.backgroundColor = .white
+        window?.overrideUserInterfaceStyle = .light
         window?.makeKeyAndVisible()
         window?.rootViewController = LNNavigationController(rootViewController: LNMainViewController())