Skip to content

Commit 53fde0c

Browse files
committed
fix(Notification): Remove notification sound when app is muted
1 parent 3ccbcf5 commit 53fde0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/ServicesStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export default class ServicesStore extends Store {
297297
});
298298
} else if (channel === 'notification') {
299299
const options = args[0].options;
300-
if (service.recipe.hasNotificationSound || service.isMuted) {
300+
if (service.recipe.hasNotificationSound || service.isMuted || this.stores.settings.all.isAppMuted) {
301301
Object.assign(options, {
302302
silent: true,
303303
});

0 commit comments

Comments
 (0)