From 5573ab7e17400229dd5d79fa50808b38293872fc Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Thu, 23 Nov 2017 11:30:19 +0100 Subject: Add SettingsModel and fix issue with improper mobx data handling --- src/stores/AppStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stores/AppStore.js') diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 3eb2c38d2..0b7c60bce 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js @@ -220,13 +220,13 @@ export default class AppStore extends Store { @action _muteApp({ isMuted }) { this.actions.settings.update({ settings: { - isMuted, + isAppMuted: isMuted, }, }); } @action _toggleMuteApp() { - this._muteApp({ isMuted: !this.stores.settings.all.isMuted }); + this._muteApp({ isMuted: !this.stores.settings.all.isAppMuted }); } // Reactions -- cgit v1.2.3-70-g09d2