Try to close notification on all platforms which support it, not just electron
This commit is contained in:
parent
ad944c0b39
commit
e371f01bb5
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue