diff options
author | 2018-12-07 20:25:42 +0100 | |
---|---|---|
committer | 2018-12-07 20:25:42 +0100 | |
commit | baf7d60af40e9cc3ce5403c5e109331098d5e1d6 (patch) | |
tree | 1973e6304b04088dc6ff9324b7e73fb52c400c9e /src/models | |
parent | Update package-lock.json (diff) | |
download | ferdium-app-baf7d60af40e9cc3ce5403c5e109331098d5e1d6.tar.gz ferdium-app-baf7d60af40e9cc3ce5403c5e109331098d5e1d6.tar.zst ferdium-app-baf7d60af40e9cc3ce5403c5e109331098d5e1d6.zip |
feat(Service): Add option to change spellchecking language by service
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Service.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/models/Service.js b/src/models/Service.js index 41180dd76..deeb544d1 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -29,6 +29,7 @@ export default class Service { | |||
29 | @observable hasCustomUploadedIcon = false; | 29 | @observable hasCustomUploadedIcon = false; |
30 | @observable hasCrashed = false; | 30 | @observable hasCrashed = false; |
31 | @observable isDarkModeEnabled = false; | 31 | @observable isDarkModeEnabled = false; |
32 | @observable spellcheckerLanguage = null; | ||
32 | 33 | ||
33 | constructor(data, recipe) { | 34 | constructor(data, recipe) { |
34 | if (!data) { | 35 | if (!data) { |
@@ -71,6 +72,8 @@ export default class Service { | |||
71 | 72 | ||
72 | this.proxy = data.proxy !== undefined ? data.proxy : this.proxy; | 73 | this.proxy = data.proxy !== undefined ? data.proxy : this.proxy; |
73 | 74 | ||
75 | this.spellcheckerLanguage = data.spellcheckerLanguage !== undefined ? data.spellcheckerLanguage : this.spellcheckerLanguage; | ||
76 | |||
74 | this.recipe = recipe; | 77 | this.recipe = recipe; |
75 | 78 | ||
76 | autorun(() => { | 79 | autorun(() => { |