Fix badge spam: attempt 2 (#3073)
This commit is contained in:
committed by
Richard van der Hoff
parent
f29e0bfe6d
commit
7850f7e505
@@ -60,11 +60,13 @@ export default class WebPlatform extends VectorBasePlatform {
|
||||
}
|
||||
|
||||
setNotificationCount(count: number) {
|
||||
if (this.notificationCount === count) return;
|
||||
super.setNotificationCount(count);
|
||||
this._updateFavicon();
|
||||
}
|
||||
|
||||
setErrorStatus(errorDidOccur: boolean) {
|
||||
if (this.errorDidOccur === errorDidOccur) return;
|
||||
super.setErrorStatus(errorDidOccur);
|
||||
this._updateFavicon();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user