aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2018-12-21 20:37:22 -0600
committerEric Kuck <eric@bluelinelabs.com>2018-12-21 20:37:22 -0600
commit9d9859248ed822fced70378ea40670076c92b00e (patch)
tree60b901ae7029e13a145d715875176bcda9f1ddae /WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift
parentStrongly recommended now appears as placeholder for DNS when needed (diff)
downloadwireguard-apple-9d9859248ed822fced70378ea40670076c92b00e.tar.xz
wireguard-apple-9d9859248ed822fced70378ea40670076c92b00e.zip
RTL support
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/ViewController/QRScanViewController.swift4
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)
])