Skip to content

Commit

Permalink
Update storage path
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Oct 10, 2024
1 parent 0a1ec26 commit 3ef4ef0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ import {displayNotificationEvent} from './notifications'
import {transactionReceivedSubject} from './transaction-received-notification'

const appStorage = mountAsyncStorage({path: '/'})
const notificationStorage = appStorage.join('notifications/')

export const notificationManager = notificationManagerMaker({
eventsStorage: appStorage.join('events/'),
configStorage: appStorage.join('settings/'),
eventsStorage: notificationStorage.join('events/'),
configStorage: notificationStorage.join('settings/'),
display: displayNotificationEvent,
subscriptions: {
[Notifications.Trigger.TransactionReceived]: transactionReceivedSubject,
Expand Down

0 comments on commit 3ef4ef0

Please sign in to comment.