Try to close notification on all platforms which support it, not just electron

This commit is contained in:
Michael Telatynski 2020-08-12 12:16:29 +01:00
parent ad944c0b39
commit e371f01bb5

View file

@ -374,10 +374,6 @@ export default class ElectronPlatform extends VectorBasePlatform {
ipcRenderer.send('loudNotification'); ipcRenderer.send('loudNotification');
} }
clearNotification(notif: Notification) {
notif.close();
}
async getAppVersion(): Promise<string> { async getAppVersion(): Promise<string> {
return this._ipcCall('getAppVersion'); return this._ipcCall('getAppVersion');
} }