aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/ServicesStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/ServicesStore.ts')
-rw-r--r--src/stores/ServicesStore.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/stores/ServicesStore.ts b/src/stores/ServicesStore.ts
index 83ec7d18e..00cf33b17 100644
--- a/src/stores/ServicesStore.ts
+++ b/src/stores/ServicesStore.ts
@@ -158,6 +158,13 @@ export default class ServicesStore extends TypedStore {
158 ); 158 );
159 159
160 reaction( 160 reaction(
161 () => this.stores.settings.app.enableTranslator,
162 () => {
163 this._shareSettingsWithServiceProcess();
164 },
165 );
166
167 reaction(
161 () => this.stores.settings.app.spellcheckerLanguage, 168 () => this.stores.settings.app.spellcheckerLanguage,
162 () => { 169 () => {
163 this._shareSettingsWithServiceProcess(); 170 this._shareSettingsWithServiceProcess();
@@ -207,6 +214,20 @@ export default class ServicesStore extends TypedStore {
207 ); 214 );
208 215
209 reaction( 216 reaction(
217 () => this.stores.settings.app.translatorEngine,
218 () => {
219 this._shareSettingsWithServiceProcess();
220 },
221 );
222
223 reaction(
224 () => this.stores.settings.app.translatorLanguage,
225 () => {
226 this._shareSettingsWithServiceProcess();
227 },
228 );
229
230 reaction(
210 () => this.stores.settings.app.clipboardNotifications, 231 () => this.stores.settings.app.clipboardNotifications,
211 () => { 232 () => {
212 this._shareSettingsWithServiceProcess(); 233 this._shareSettingsWithServiceProcess();