mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-19 12:41:24 +02:00
Merge pull request #14939 from vector-im/t3chguy/fix/14938
Try to close notification on all platforms which support it, not just electron
This commit is contained in:
commit
84ddc114e3
@ -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…
x
Reference in New Issue
Block a user