diff options
author | Sadetdin EYILI <sad270@users.noreply.github.com> | 2021-09-06 01:52:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 05:22:54 +0530 |
commit | ad2994d4cd76ca1c85659cc6d803c8211e5dafb0 (patch) | |
tree | 721b963ba58eb5918c5a9163d8e92490fe947dd4 /src/stores | |
parent | refactor: trying to fix zoom in/out being sticky for the last active service ... (diff) | |
download | ferdium-app-ad2994d4cd76ca1c85659cc6d803c8211e5dafb0.tar.gz ferdium-app-ad2994d4cd76ca1c85659cc6d803c8211e5dafb0.tar.zst ferdium-app-ad2994d4cd76ca1c85659cc6d803c8211e5dafb0.zip |
fix: sidebar context menu not synced when toggling via the context menu (#1871)
fixes #1772
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/ServicesStore.js | 3 |
1 files changed, 0 insertions, 3 deletions
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 { | |||
920 | 920 | ||
921 | @action _toggleNotifications({ serviceId }) { | 921 | @action _toggleNotifications({ serviceId }) { |
922 | const service = this.one(serviceId); | 922 | const service = this.one(serviceId); |
923 | service.isNotificationEnabled = !service.isNotificationEnabled; | ||
924 | 923 | ||
925 | this.actions.service.updateService({ | 924 | this.actions.service.updateService({ |
926 | serviceId, | 925 | serviceId, |
@@ -933,7 +932,6 @@ export default class ServicesStore extends Store { | |||
933 | 932 | ||
934 | @action _toggleAudio({ serviceId }) { | 933 | @action _toggleAudio({ serviceId }) { |
935 | const service = this.one(serviceId); | 934 | const service = this.one(serviceId); |
936 | service.isMuted = !service.isMuted; | ||
937 | 935 | ||
938 | this.actions.service.updateService({ | 936 | this.actions.service.updateService({ |
939 | serviceId, | 937 | serviceId, |
@@ -946,7 +944,6 @@ export default class ServicesStore extends Store { | |||
946 | 944 | ||
947 | @action _toggleDarkMode({ serviceId }) { | 945 | @action _toggleDarkMode({ serviceId }) { |
948 | const service = this.one(serviceId); | 946 | const service = this.one(serviceId); |
949 | service.isDarkModeEnabled = !service.isDarkModeEnabled; | ||
950 | 947 | ||
951 | this.actions.service.updateService({ | 948 | this.actions.service.updateService({ |
952 | serviceId, | 949 | serviceId, |