diff options
author | Eric Kuck <eric@bluelinelabs.com> | 2018-12-20 11:22:37 -0600 |
---|---|---|
committer | Eric Kuck <eric@bluelinelabs.com> | 2018-12-20 11:22:37 -0600 |
commit | a89ad959016c394c3b30b30598bf9ebff2ad1911 (patch) | |
tree | 03d72cef3084a90d20cdd8e6c371c2c58206d2c4 /WireGuard/WireGuard/UI/iOS/View/ButtonCell.swift | |
parent | Added a String->[String] helper (diff) | |
download | wireguard-apple-a89ad959016c394c3b30b30598bf9ebff2ad1911.tar.xz wireguard-apple-a89ad959016c394c3b30b30598bf9ebff2ad1911.zip |
Enabled more swiftlint rules
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/View/ButtonCell.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/View/ButtonCell.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/View/ButtonCell.swift b/WireGuard/WireGuard/UI/iOS/View/ButtonCell.swift index 4702993..aff17ee 100644 --- a/WireGuard/WireGuard/UI/iOS/View/ButtonCell.swift +++ b/WireGuard/WireGuard/UI/iOS/View/ButtonCell.swift @@ -33,7 +33,7 @@ class ButtonCell: UITableViewCell { button.topAnchor.constraint(equalTo: contentView.layoutMarginsGuide.topAnchor), contentView.layoutMarginsGuide.bottomAnchor.constraint(equalTo: button.bottomAnchor), button.centerXAnchor.constraint(equalTo: contentView.centerXAnchor) - ]) + ]) button.addTarget(self, action: #selector(buttonTapped), for: .touchUpInside) } |