summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-05-23 15:12:11 +0200
committerAndrej Mihajlov <and@mullvad.net>2023-05-30 11:17:29 +0200
commitb5402ea243eaa33ee55622ae54b47f49efa1570f (patch)
tree721292304de1abe6ba20c6a886b67b225800a965
parent8aa97d8f8482d6a69e7d6df9d49baa395f470dc0 (diff)
downloadmullvadvpn-b5402ea243eaa33ee55622ae54b47f49efa1570f.tar.xz
mullvadvpn-b5402ea243eaa33ee55622ae54b47f49efa1570f.zip
Rename didPress to handleActionTap
-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?()
}
}