From 4bb054c9553cbf4b97e0bc95c266349a605de722 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 22 May 2017 19:25:18 +0100 Subject: [PATCH] electron stuff isn't actually using flow, so don't enable it Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- electron_app/src/electron-main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/electron_app/src/electron-main.js b/electron_app/src/electron-main.js index b58e255394..95daaa6af6 100644 --- a/electron_app/src/electron-main.js +++ b/electron_app/src/electron-main.js @@ -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) {