aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/services/tabs/TabItem.js4
-rw-r--r--src/stores/ServicesStore.js3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/components/services/tabs/TabItem.js b/src/components/services/tabs/TabItem.js
index 6ad925670..b24055828 100644
--- a/src/components/services/tabs/TabItem.js
+++ b/src/components/services/tabs/TabItem.js
@@ -227,8 +227,8 @@ class TabItem extends Component {
227 }, 227 },
228 { 228 {
229 label: service.isDarkModeEnabled 229 label: service.isDarkModeEnabled
230 ? intl.formatMessage(messages.enableDarkMode) 230 ? intl.formatMessage(messages.disableDarkMode)
231 : intl.formatMessage(messages.disableDarkMode), 231 : intl.formatMessage(messages.enableDarkMode),
232 click: () => toggleDarkMode(), 232 click: () => toggleDarkMode(),
233 }, 233 },
234 { 234 {
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,