Add confirmation modal for archive all and add read all option (#4880)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-03-05 20:02:52 +07:00
committed by GitHub
parent 2732756b76
commit e0fb65ab47
7 changed files with 99 additions and 23 deletions
+5 -1
View File
@@ -283,6 +283,7 @@ export interface InboxNotificationsClient {
unreadNotifications: (client: TxOperations, ids: Array<Ref<InboxNotification>>) => Promise<void>
deleteNotifications: (client: TxOperations, ids: Array<Ref<InboxNotification>>) => Promise<void>
deleteAllNotifications: () => Promise<void>
readAllNotifications: () => Promise<void>
}
/**
@@ -390,7 +391,10 @@ const notification = plugin(notificationId, {
FlatList: '' as IntlString,
GroupedList: '' as IntlString,
All: '' as IntlString,
ArchiveAll: '' as IntlString
ArchiveAll: '' as IntlString,
ReadAll: '' as IntlString,
ArchiveAllConfirmationTitle: '' as IntlString,
ArchiveAllConfirmationMessage: '' as IntlString
},
function: {
GetInboxNotificationsClient: '' as Resource<InboxNotificationsClientFactory>,