diff options
Diffstat (limited to 'src/state/models/me.ts')
-rw-r--r-- | src/state/models/me.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/models/me.ts b/src/state/models/me.ts index cefd893ca..78c6d2e76 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -49,6 +49,10 @@ export class MeModel { } } + clearNotificationCount() { + this.notificationCount = 0 + } + async fetchStateUpdate() { const res = await this.rootStore.api.app.bsky.notification.getCount() runInAction(() => { |