A couple notifications fixes (#2327)
* Clear the app badge notif count on markallread * Fix like notifications on custom feeds
This commit is contained in:
@@ -89,6 +89,9 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
|
||||
// update & broadcast
|
||||
setNumUnread('')
|
||||
broadcast.postMessage({event: ''})
|
||||
if (isNative) {
|
||||
Notifications.setBadgeCountAsync(0)
|
||||
}
|
||||
},
|
||||
|
||||
async checkUnread({invalidate}: {invalidate?: boolean} = {}) {
|
||||
|
||||
Reference in New Issue
Block a user