aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/spellchecker
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-07 16:18:56 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-07 16:18:56 +0200
commit90db27bdb7d12ad6c7d89efe78f0605d92bd2896 (patch)
treed3df87fd8f0dd64ea394e8bcecafe28df2ef1190 /src/features/spellchecker
parentRemove service limit and enable workspaces (diff)
downloadferdium-app-90db27bdb7d12ad6c7d89efe78f0605d92bd2896.tar.gz
ferdium-app-90db27bdb7d12ad6c7d89efe78f0605d92bd2896.tar.zst
ferdium-app-90db27bdb7d12ad6c7d89efe78f0605d92bd2896.zip
Enable proxy and spell checker
Diffstat (limited to 'src/features/spellchecker')
-rw-r--r--src/features/spellchecker/index.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/features/spellchecker/index.js b/src/features/spellchecker/index.js
index a07f9f63a..1f425065f 100644
--- a/src/features/spellchecker/index.js
+++ b/src/features/spellchecker/index.js
@@ -12,16 +12,16 @@ export default function init(stores) {
12 debug('Initializing `spellchecker` feature'); 12 debug('Initializing `spellchecker` feature');
13 13
14 autorun(() => { 14 autorun(() => {
15 const { isSpellcheckerIncludedInCurrentPlan } = stores.features.features; 15 // const { isSpellcheckerIncludedInCurrentPlan } = stores.features.features;
16 16
17 config.isIncludedInCurrentPlan = isSpellcheckerIncludedInCurrentPlan !== undefined ? isSpellcheckerIncludedInCurrentPlan : DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan; 17 // config.isIncludedInCurrentPlan = isSpellcheckerIncludedInCurrentPlan !== undefined ? isSpellcheckerIncludedInCurrentPlan : DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan;
18 18
19 if (!stores.user.data.isPremium && config.isIncludedInCurrentPlan && stores.settings.app.enableSpellchecking) { 19 // if (!stores.user.data.isPremium && config.isIncludedInCurrentPlan && stores.settings.app.enableSpellchecking) {
20 debug('Override settings.spellcheckerEnabled flag to false'); 20 // debug('Override settings.spellcheckerEnabled flag to false');
21 21
22 Object.assign(stores.settings.app, { 22 // Object.assign(stores.settings.app, {
23 enableSpellchecking: false, 23 // enableSpellchecking: false,
24 }); 24 // });
25 } 25 // }
26 }); 26 });
27} 27}