Clear notifications count optimistically
This commit is contained in:
parent
92046473f8
commit
bd1a4b198e
2 changed files with 5 additions and 0 deletions
|
@ -332,6 +332,7 @@ export class NotificationsViewModel {
|
|||
await this.rootStore.api.app.bsky.notification.updateSeen({
|
||||
seenAt: new Date().toISOString(),
|
||||
})
|
||||
this.rootStore.me.clearNotificationCount()
|
||||
} catch (e) {
|
||||
console.log('Failed to update notifications read state', e)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue