Merge pull request #12861 from mnoorenberghe/patch-1

Don't immediately remove notifications from notification trays
This commit is contained in:
Travis Ralston
2020-03-26 09:33:11 -06:00
committed by GitHub

View File

@@ -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> {