summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift b/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift
index 4f246be9a0..954185e34d 100644
--- a/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift
+++ b/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift
@@ -95,7 +95,7 @@ final class NotificationBannerView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
- actionButton.addTarget(self, action: #selector(didPress), for: .touchUpInside)
+ actionButton.addTarget(self, action: #selector(handleActionTap), for: .touchUpInside)
actionButton.setContentCompressionResistancePriority(.defaultHigh + 1, for: .horizontal)
actionButton.setContentCompressionResistancePriority(.defaultHigh + 1, for: .vertical)
@@ -136,7 +136,7 @@ final class NotificationBannerView: UIView {
fatalError("init(coder:) has not been implemented")
}
- @objc private func didPress() {
+ @objc private func handleActionTap() {
action?.handler?()
}
}