fix electron too

This commit is contained in:
Matthew Hodgson 2017-01-26 00:31:52 +01:00
parent 972a391296
commit 9797c2fb4b
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ 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