Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Oct 30, 2024
1 parent 74ea1ff commit 7abc513
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Notification, Notifications} from '@jamsinclair/react-native-notifications'
import {mountAsyncStorage} from '@yoroi/common'
import {Notifications as NotificationTypes} from '@yoroi/types'
import {NotificationTrigger} from '@yoroi/types/lib/typescript/notifications/manager'

import {formatCurrency, getCurrencySymbol} from '../../../Settings/useCases/changeAppSettings/Currency/CurrencyContext'

Expand Down Expand Up @@ -38,7 +37,7 @@ export const displayNotificationEvent = async (notificationEvent: NotificationTy
})
}

if (notificationEvent.trigger === NotificationTrigger.RewardsUpdated) {
if (notificationEvent.trigger === NotificationTypes.Trigger.RewardsUpdated) {
sendNotification({
title: 'Rewards updated',
body: 'Your rewards have been updated',
Expand Down

0 comments on commit 7abc513

Please sign in to comment.