diff --git a/Client/Frontend/Browser/New Tab Page/Notifications/NTPLearnMoreContentView.swift b/Client/Frontend/Browser/New Tab Page/Notifications/NTPLearnMoreContentView.swift index bc437261182..72da0acf56b 100644 --- a/Client/Frontend/Browser/New Tab Page/Notifications/NTPLearnMoreContentView.swift +++ b/Client/Frontend/Browser/New Tab Page/Notifications/NTPLearnMoreContentView.swift @@ -134,12 +134,13 @@ extension NTPLearnMoreViewController { .forEach(stackView.addArrangedSubview(_:)) } - private let learnMoreButton = secondaryButton(title: nil).then { - $0.addTarget(self, action: #selector(learnMoreButtonAction), for: .touchDown) + private lazy var learnMoreButton = secondaryButton(title: nil).then { + $0.addTarget(self, action: #selector(learnMoreButtonAction), for: .touchUpInside) } - private let hideSponsoredImageButton = secondaryButton(title: Strings.NTP.hideSponsoredImages).then { - $0.addTarget(self, action: #selector(hideSponsoredImagesAction), for: .touchDown) + private lazy var hideSponsoredImageButton = + secondaryButton(title: Strings.NTP.hideSponsoredImages).then { + $0.addTarget(self, action: #selector(hideSponsoredImagesAction), for: .touchUpInside) } private let config: NTPNotificationLearnMoreViewConfig