Merge pull request #14939 from vector-im/t3chguy/fix/14938
Try to close notification on all platforms which support it, not just electronpull/14949/head
commit
84ddc114e3
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue