mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-27 02:52:35 +00:00
WireGuardApp: Pin status switch to cell margin
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
parent
d3400e3a80
commit
facf776602
@ -51,7 +51,7 @@ class TunnelListCell: UITableViewCell {
|
||||
statusSwitch.translatesAutoresizingMaskIntoConstraints = false
|
||||
NSLayoutConstraint.activate([
|
||||
statusSwitch.centerYAnchor.constraint(equalTo: contentView.centerYAnchor),
|
||||
contentView.trailingAnchor.constraint(equalTo: statusSwitch.trailingAnchor)
|
||||
statusSwitch.trailingAnchor.constraint(equalTo: contentView.layoutMarginsGuide.trailingAnchor)
|
||||
])
|
||||
|
||||
contentView.addSubview(busyIndicator)
|
||||
|
Loading…
Reference in New Issue
Block a user