From 7abc5130fa93d5fcb6e13b188f690db3128c1c58 Mon Sep 17 00:00:00 2001 From: Michal Date: Wed, 30 Oct 2024 15:33:49 +0000 Subject: [PATCH] Fix import --- .../features/Notifications/useCases/common/notifications.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/wallet-mobile/src/features/Notifications/useCases/common/notifications.ts b/apps/wallet-mobile/src/features/Notifications/useCases/common/notifications.ts index 2a12e26505..5ddca12e36 100644 --- a/apps/wallet-mobile/src/features/Notifications/useCases/common/notifications.ts +++ b/apps/wallet-mobile/src/features/Notifications/useCases/common/notifications.ts @@ -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' @@ -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',