diff options
author | Eric Kuck <eric@bluelinelabs.com> | 2018-12-12 11:40:57 -0600 |
---|---|---|
committer | Eric Kuck <eric@bluelinelabs.com> | 2018-12-12 11:40:57 -0600 |
commit | de14b76b4d99f74d52b6e404b2ab37394fa5b9dc (patch) | |
tree | 0d6e1efbf855bb4995b22e6c55ab8ab2f08e8f24 /WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift | |
parent | Zip importing: importFromFile should take a completionHandler (diff) | |
download | wireguard-apple-de14b76b4d99f74d52b6e404b2ab37394fa5b9dc.tar.xz wireguard-apple-de14b76b4d99f74d52b6e404b2ab37394fa5b9dc.zip |
Added swiftlint and fixed all errors (and a bunch, but not all, warnings)
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift b/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift index 7abd4de..c0cc86b 100644 --- a/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift +++ b/WireGuard/WireGuard/UI/iOS/ScrollableLabel.swift @@ -34,7 +34,7 @@ class ScrollableLabel: UIScrollView { label.topAnchor.constraint(equalTo: self.contentLayoutGuide.topAnchor), label.bottomAnchor.constraint(equalTo: self.contentLayoutGuide.bottomAnchor), label.rightAnchor.constraint(equalTo: self.contentLayoutGuide.rightAnchor), - label.heightAnchor.constraint(equalTo: self.heightAnchor), + 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. |