Merge pull request #12861 from mnoorenberghe/patch-1
Don't immediately remove notifications from notification trays
This commit is contained in:
commit
d9fbbe1696
1 changed files with 0 additions and 6 deletions
|
@ -91,12 +91,6 @@ export default class WebPlatform extends VectorBasePlatform {
|
||||||
global.focus();
|
global.focus();
|
||||||
notification.close();
|
notification.close();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Chrome only dismisses notifications after 20s, which
|
|
||||||
// is waaaaay too long
|
|
||||||
global.setTimeout(function() {
|
|
||||||
notification.close();
|
|
||||||
}, 5 * 1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_getVersion(): Promise<string> {
|
_getVersion(): Promise<string> {
|
||||||
|
|
Loading…
Reference in a new issue