Skip to content

Commit 4035043

Browse files
committed
fix(Spellchecker): Fix disabling spellchecker after app start
1 parent e4ec5d4 commit 4035043

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/features/spellchecker/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function init(stores) {
1616

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

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

2222
Object.assign(stores.settings.app, {

0 commit comments

Comments
 (0)