diff options
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift index 2f8d41f..f74b401 100644 --- a/WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift @@ -29,8 +29,8 @@ class QRScanViewController: UIViewController { view.addSubview(tipLabel) tipLabel.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ - tipLabel.leftAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leftAnchor), - tipLabel.rightAnchor.constraint(equalTo: view.safeAreaLayoutGuide.rightAnchor), + tipLabel.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor), + tipLabel.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor), tipLabel.bottomAnchor.constraint(equalTo: view.safeAreaLayoutGuide.bottomAnchor, constant: -32) ]) |