Skip to content

Commit 35f82b0

Browse files
committed
Reuse the same push notification type key.
1 parent 34fe4a3 commit 35f82b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Notifications/PushNotificationsManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ private extension PushNotificationsManager {
371371
guard let self = self else { return }
372372
self.presentDetails(for: foregroundNotification)
373373
self.foregroundNotificationsToViewSubject.send(foregroundNotification)
374-
ServiceLocator.analytics.track(.viewInAppPushNotificationPressed)
374+
ServiceLocator.analytics.track(.viewInAppPushNotificationPressed, withProperties: [AnalyticKey.type: foregroundNotification.kind.rawValue])
375375
}
376376

377377
foregroundNotificationsSubject.send(foregroundNotification)

0 commit comments

Comments
 (0)