From ad2994d4cd76ca1c85659cc6d803c8211e5dafb0 Mon Sep 17 00:00:00 2001 From: Sadetdin EYILI Date: Mon, 6 Sep 2021 01:52:54 +0200 Subject: fix: sidebar context menu not synced when toggling via the context menu (#1871) fixes #1772 --- src/stores/ServicesStore.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/stores') diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index b429c9101..9ee3effaa 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js @@ -920,7 +920,6 @@ export default class ServicesStore extends Store { @action _toggleNotifications({ serviceId }) { const service = this.one(serviceId); - service.isNotificationEnabled = !service.isNotificationEnabled; this.actions.service.updateService({ serviceId, @@ -933,7 +932,6 @@ export default class ServicesStore extends Store { @action _toggleAudio({ serviceId }) { const service = this.one(serviceId); - service.isMuted = !service.isMuted; this.actions.service.updateService({ serviceId, @@ -946,7 +944,6 @@ export default class ServicesStore extends Store { @action _toggleDarkMode({ serviceId }) { const service = this.one(serviceId); - service.isDarkModeEnabled = !service.isDarkModeEnabled; this.actions.service.updateService({ serviceId, -- cgit v1.2.3-70-g09d2