diff options
author | 2024-02-28 10:28:12 +0100 | |
---|---|---|
committer | 2024-02-28 10:28:12 +0100 | |
commit | a37ae8a99b9edb363eb084e17eec35f3c4761313 (patch) | |
tree | 06b2db1fd7565b9d615c2e79ba022e3cc7c3f690 /Sources/WireGuardApp/UI/iOS/ViewController/MainViewController.swift | |
parent | Remove backward compatibility of GetPeers with SiriKit version (diff) | |
parent | App: version bump (diff) | |
download | wireguard-apple-an/shortcuts-integration.tar.xz wireguard-apple-an/shortcuts-integration.zip |
Merge branch 'master' into an/shortcuts-integrationan/shortcuts-integration
Diffstat (limited to 'Sources/WireGuardApp/UI/iOS/ViewController/MainViewController.swift')
-rw-r--r-- | Sources/WireGuardApp/UI/iOS/ViewController/MainViewController.swift | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Sources/WireGuardApp/UI/iOS/ViewController/MainViewController.swift b/Sources/WireGuardApp/UI/iOS/ViewController/MainViewController.swift index 6aab559..39780f1 100644 --- a/Sources/WireGuardApp/UI/iOS/ViewController/MainViewController.swift +++ b/Sources/WireGuardApp/UI/iOS/ViewController/MainViewController.swift @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// Copyright © 2018-2021 WireGuard LLC. All Rights Reserved. +// Copyright © 2018-2023 WireGuard LLC. All Rights Reserved. import UIKit @@ -13,11 +13,7 @@ class MainViewController: UISplitViewController { init() { let detailVC = UIViewController() - if #available(iOS 13.0, *) { - detailVC.view.backgroundColor = .systemBackground - } else { - detailVC.view.backgroundColor = .white - } + detailVC.view.backgroundColor = .systemBackground let detailNC = UINavigationController(rootViewController: detailVC) let masterVC = TunnelsListTableViewController() |