Skip to content
Snippets Groups Projects
Commit 47d99885 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Revert "only recalculate favicon if it changes"

parent f9db7f01
No related merge requests found
......@@ -58,7 +58,6 @@ function platformFriendlyName() {
export default class ElectronPlatform extends VectorBasePlatform {
setNotificationCount(count: number) {
if (this.notificationCount === number) return;
super.setNotificationCount(count);
// this sometimes throws because electron is made of fail:
// https://github.com/electron/electron/issues/7351
......
......@@ -60,13 +60,11 @@ export default class WebPlatform extends VectorBasePlatform {
}
setNotificationCount(count: number) {
if (this.notificationCount === number) return;
super.setNotificationCount(count);
this._updateFavicon();
}
setErrorStatus(errorDidOccur: boolean) {
if (this.errorDidOccur === errorDidOccur) return;
super.setErrorStatus(errorDidOccur);
this._updateFavicon();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment