Skip to content
Permalink
Browse files

fix(Spellchecker): Fix disabling spellchecker after app start

  • Loading branch information...
adlk committed Sep 17, 2019
1 parent e4ec5d4 commit 40350431927e12b74874ebf17b761535cccc76c5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/features/spellchecker/index.js
@@ -16,7 +16,7 @@ export default function init(stores) {

config.isIncludedInCurrentPlan = isSpellcheckerIncludedInCurrentPlan !== undefined ? isSpellcheckerIncludedInCurrentPlan : DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan;

if (!stores.user.data.isPremium && config.isIncludedInCurrentPlan && stores.settings.app.enableSpellchecking) {
if (!stores.user.data.isPremium && !config.isIncludedInCurrentPlan && stores.settings.app.enableSpellchecking) {
debug('Override settings.spellcheckerEnabled flag to false');

Object.assign(stores.settings.app, {

0 comments on commit 4035043

Please sign in to comment.
You can’t perform that action at this time.