Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8619: Send correct ad notification clicked event
Browse files Browse the repository at this point in the history
  • Loading branch information
aseren committed Jan 4, 2024
1 parent e35b435 commit de68583
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 de68583

Please sign in to comment.