Skip to content

Commit

Permalink
Fix brave/brave-ios#8619: Send correct ad notification clicked event (b…
Browse files Browse the repository at this point in the history
  • Loading branch information
aseren committed Jan 4, 2024
1 parent d7aa593 commit f62eb32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class AdsNotificationHandler: BraveAdsNotificationHandler {
guard let self = self else { return }
switch action {
case .opened:
self.ads.triggerNotificationAdEvent(notification.placementID, eventType: .viewed, completion: { _ in })
self.ads.triggerNotificationAdEvent(notification.placementID, eventType: .clicked, completion: { _ in })
case .dismissed:
self.ads.triggerNotificationAdEvent(notification.placementID, eventType: .dismissed, completion: { _ in })
case .timedOut:
Expand Down

0 comments on commit f62eb32

Please sign in to comment.