]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
WireGuardApp: Fix window background color to default black
authorAndrej Mihajlov <and@mullvad.net>
Mon, 14 Dec 2020 14:26:24 +0000 (15:26 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 15 Dec 2020 14:56:22 +0000 (15:56 +0100)
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
Sources/WireGuardApp/UI/iOS/AppDelegate.swift

index f86a0e79c5d2796a285500cb99c3d531441292a2..4262e95c8187cf81f448e76769f456c09221e07c 100644 (file)
@@ -21,11 +21,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
         }
 
         let window = UIWindow(frame: UIScreen.main.bounds)
-        if #available(iOS 13.0, *) {
-            window.backgroundColor = .systemBackground
-        } else {
-            window.backgroundColor = .white
-        }
         self.window = window
 
         let mainVC = MainViewController()