electron stuff isn't actually using flow, so don't enable it

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/3993/head
Michael Telatynski 2017-05-22 19:25:18 +01:00
parent 911c3bcf6e
commit 4bb054c955
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
// @flow
/*
Copyright 2016 Aviral Dasgupta
Copyright 2016 OpenMarket Ltd
@ -165,7 +163,7 @@ process.on('uncaughtException', function(error) {
electron.ipcMain.on('install_update', installUpdate);
let focusHandlerAttached = false;
electron.ipcMain.on('setBadgeCount', function(ev, count: number) {
electron.ipcMain.on('setBadgeCount', function(ev, count) {
electron.app.setBadgeCount(count);
if (process.platform === 'win32' && mainWindow && !mainWindow.isFocused()) {
if (count > 0) {