Added periodical notification count check
This commit is contained in:
parent
c0594d0888
commit
66bd51f603
@ -191,6 +191,9 @@ export default class AnimeNotifier {
|
|||||||
// Notification manager
|
// Notification manager
|
||||||
if(this.user) {
|
if(this.user) {
|
||||||
this.notificationManager.update()
|
this.notificationManager.update()
|
||||||
|
|
||||||
|
// Periodically check notifications
|
||||||
|
setInterval(() => this.notificationManager.update(), 150000)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bind unload event
|
// Bind unload event
|
||||||
|
Loading…
Reference in New Issue
Block a user