Skip to content

Commit e371f01

Browse files
committed
Try to close notification on all platforms which support it, not just electron
1 parent ad944c0 commit e371f01

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vector/platform/ElectronPlatform.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,6 @@ export default class ElectronPlatform extends VectorBasePlatform {
374374
ipcRenderer.send('loudNotification');
375375
}
376376

377-
clearNotification(notif: Notification) {
378-
notif.close();
379-
}
380-
381377
async getAppVersion(): Promise<string> {
382378
return this._ipcCall('getAppVersion');
383379
}

0 commit comments

Comments
 (0)