diff options
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/AppStore.js | 4 | ||||
-rw-r--r-- | src/stores/SettingsStore.js | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 593bf341e..c8adb9c3c 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -179,6 +179,10 @@ export default class AppStore extends Store { | |||
179 | this.stores.router.push(url); | 179 | this.stores.router.push(url); |
180 | }); | 180 | }); |
181 | 181 | ||
182 | ipcRenderer.on('muteApp', () => { | ||
183 | this._toggleMuteApp(); | ||
184 | }); | ||
185 | |||
182 | this.locale = this._getDefaultLocale(); | 186 | this.locale = this._getDefaultLocale(); |
183 | 187 | ||
184 | setTimeout(() => { | 188 | setTimeout(() => { |
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 799ba3f5a..227eb2145 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -110,6 +110,7 @@ export default class SettingsStore extends Store { | |||
110 | } | 110 | } |
111 | debug('Get appSettings resolves', resp.type, resp.data); | 111 | debug('Get appSettings resolves', resp.type, resp.data); |
112 | Object.assign(this._fileSystemSettingsCache[resp.type], resp.data); | 112 | Object.assign(this._fileSystemSettingsCache[resp.type], resp.data); |
113 | ipcRenderer.send('initialAppSettings', resp); | ||
113 | }); | 114 | }); |
114 | 115 | ||
115 | this.fileSystemSettingsTypes.forEach((type) => { | 116 | this.fileSystemSettingsTypes.forEach((type) => { |