aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/View/BorderedTextButton.swift
diff options
context:
space:
mode:
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/View/BorderedTextButton.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/View/BorderedTextButton.swift7
1 files changed, 4 insertions, 3 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/View/BorderedTextButton.swift b/WireGuard/WireGuard/UI/iOS/View/BorderedTextButton.swift
index 94b76d6..ab6dcc5 100644
--- a/WireGuard/WireGuard/UI/iOS/View/BorderedTextButton.swift
+++ b/WireGuard/WireGuard/UI/iOS/View/BorderedTextButton.swift
@@ -40,11 +40,12 @@ class BorderedTextButton: UIView {
button.addTarget(self, action: #selector(buttonTapped), for: .touchUpInside)
}
+ required init?(coder aDecoder: NSCoder) {
+ fatalError("init(coder:) has not been implemented")
+ }
+
@objc func buttonTapped() {
onTapped?()
}
- required init?(coder aDecoder: NSCoder) {
- fatalError("init(coder:) has not been implemented")
- }
}