Skip to content

Commit

Permalink
fix(notifications): correct category for price changed event (#4386)
Browse files Browse the repository at this point in the history
  • Loading branch information
thevaibhav-dixit authored Apr 29, 2024
1 parent 3c167f5 commit 5fa04d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/notifications/src/notification_event/price_changed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ impl PriceChanged {

impl NotificationEvent for PriceChanged {
fn category(&self) -> UserNotificationCategory {
// TODO: this should be switched to UserNotificationCategory::Price when it's deployed in mobile
UserNotificationCategory::Payments
UserNotificationCategory::Price
}

fn should_send_push(&self) -> bool {
Expand Down

0 comments on commit 5fa04d3

Please sign in to comment.