mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-19 20:51:02 +02:00
Try to close notification on all platforms which support it, not just electron
This commit is contained in:
parent
ad944c0b39
commit
e371f01bb5
@ -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…
x
Reference in New Issue
Block a user