From e371f01bb560e581a87e924e490e3fc92081b5c2 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 12 Aug 2020 12:16:29 +0100 Subject: [PATCH] Try to close notification on all platforms which support it, not just electron --- src/vector/platform/ElectronPlatform.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index f21f760131..7932c6433d 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -374,10 +374,6 @@ export default class ElectronPlatform extends VectorBasePlatform { ipcRenderer.send('loudNotification'); } - clearNotification(notif: Notification) { - notif.close(); - } - async getAppVersion(): Promise { return this._ipcCall('getAppVersion'); }