Try to close notification on all platforms which support it, not just electron
parent
ad944c0b39
commit
e371f01bb5
|
@ -374,10 +374,6 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
ipcRenderer.send('loudNotification');
|
||||
}
|
||||
|
||||
clearNotification(notif: Notification) {
|
||||
notif.close();
|
||||
}
|
||||
|
||||
async getAppVersion(): Promise<string> {
|
||||
return this._ipcCall('getAppVersion');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue