aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2018-12-12 15:33:14 -0600
committerEric Kuck <eric@bluelinelabs.com>2018-12-12 15:33:14 -0600
commite4ac48bc75064c0e144020ded1ed877d226742c8 (patch)
treeffee70e6c957a717cc8a6b805e6cefa59ed05bc7 /WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift
parentTons more swiftlint warnings fixed. Still a few remaining. (diff)
downloadwireguard-apple-e4ac48bc75064c0e144020ded1ed877d226742c8.tar.xz
wireguard-apple-e4ac48bc75064c0e144020ded1ed877d226742c8.zip
More linter warnings fixed, enabled more swiftlint rules, project cleanup
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift b/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift
index c0cc86b..f2d0f58 100644
--- a/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift
+++ b/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift
@@ -35,7 +35,7 @@ class ScrollableLabel: UIScrollView {
label.bottomAnchor.constraint(equalTo: self.contentLayoutGuide.bottomAnchor),
label.rightAnchor.constraint(equalTo: self.contentLayoutGuide.rightAnchor),
label.heightAnchor.constraint(equalTo: self.heightAnchor)
- ])
+ ])
// If label has less content, it should expand to fit the scrollView,
// so that right-alignment works in the label.
let expandToFitValueLabelConstraint = NSLayoutConstraint(item: label, attribute: .width, relatedBy: .equal,