Browse Source

Merge pull request #12861 from mnoorenberghe/patch-1

Don't immediately remove notifications from notification trays
pull/12925/head
Travis Ralston 2 years ago committed by GitHub
parent
commit
d9fbbe1696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/vector/platform/WebPlatform.js

6
src/vector/platform/WebPlatform.js

@ -91,12 +91,6 @@ export default class WebPlatform extends VectorBasePlatform {
global.focus();
notification.close();
};
// Chrome only dismisses notifications after 20s, which
// is waaaaay too long
global.setTimeout(function() {
notification.close();
}, 5 * 1000);
}
_getVersion(): Promise<string> {

Loading…
Cancel
Save