Windows: Reintroduce flash frame when we trigger a notification

This commit is contained in:
Scott Nonnenberg 2019-09-06 13:04:31 -07:00 committed by Ken Powers
parent e011589a5e
commit 5bd9964ed2
3 changed files with 13 additions and 0 deletions

View file

@ -1,6 +1,7 @@
/* global Signal:false */
/* global Backbone: false */
/* global drawAttention: false */
/* global i18n: false */
/* global isFocused: false */
/* global Signal: false */
@ -135,6 +136,8 @@
message = i18n('newMessage');
}
drawAttention();
this.lastNotification = new Notification(title, {
body: window.platform === 'linux' ? filter(message) : message,
icon: iconUrl,