mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 13:40:47 +00:00
Fixed drawAttention() position to comply with user's settings (#1612)
This fix is related about issue #1587 window.drawAttention() repositioned to allow complete control over notifications by settings. It now does not draw attention when the notifications are off.
This commit is contained in:
committed by
Scott Nonnenberg
parent
fb931b4733
commit
a3fbb9a6aa
@@ -42,8 +42,6 @@
|
||||
return;
|
||||
}
|
||||
|
||||
window.drawAttention();
|
||||
|
||||
var audioNotification = storage.get('audio-notification') || false;
|
||||
if (audioNotification) {
|
||||
sound.play();
|
||||
@@ -54,6 +52,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
window.drawAttention();
|
||||
|
||||
var title;
|
||||
var message;
|
||||
var iconUrl;
|
||||
|
||||
Reference in New Issue
Block a user