aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stores/ServicesStore.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index 06f33cc1e..0708aaa95 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -918,6 +918,7 @@ export default class ServicesStore extends Store {
918 918
919 @action _toggleNotifications({ serviceId }) { 919 @action _toggleNotifications({ serviceId }) {
920 const service = this.one(serviceId); 920 const service = this.one(serviceId);
921 service.isNotificationEnabled = !service.isNotificationEnabled;
921 922
922 this.actions.service.updateService({ 923 this.actions.service.updateService({
923 serviceId, 924 serviceId,
@@ -930,8 +931,7 @@ export default class ServicesStore extends Store {
930 931
931 @action _toggleAudio({ serviceId }) { 932 @action _toggleAudio({ serviceId }) {
932 const service = this.one(serviceId); 933 const service = this.one(serviceId);
933 934 service.isMuted = !service.isMuted;
934 service.isNotificationEnabled = !service.isNotificationEnabled;
935 935
936 this.actions.service.updateService({ 936 this.actions.service.updateService({
937 serviceId, 937 serviceId,
@@ -944,6 +944,7 @@ export default class ServicesStore extends Store {
944 944
945 @action _toggleDarkMode({ serviceId }) { 945 @action _toggleDarkMode({ serviceId }) {
946 const service = this.one(serviceId); 946 const service = this.one(serviceId);
947 service.isDarkModeEnabled = !service.isDarkModeEnabled;
947 948
948 this.actions.service.updateService({ 949 this.actions.service.updateService({
949 serviceId, 950 serviceId,