diff options
author | 2021-07-17 20:32:22 +0530 | |
---|---|---|
committer | 2021-07-20 16:02:15 +0000 | |
commit | 45373f655f68fdd0b320cde175b6108454ad4731 (patch) | |
tree | c1ccb0c73639d754b68a36a1977b74471fe4b566 /src/features/spellchecker/index.js | |
parent | New Crowdin updates (#1668) (diff) | |
download | ferdium-app-45373f655f68fdd0b320cde175b6108454ad4731.tar.gz ferdium-app-45373f655f68fdd0b320cde175b6108454ad4731.tar.zst ferdium-app-45373f655f68fdd0b320cde175b6108454ad4731.zip |
Removed Franz paid plans features:
- serviceLimit
- planSelection
- trialStatusBar
and other Franz features that were for different tiers of subscription.
Diffstat (limited to 'src/features/spellchecker/index.js')
-rw-r--r-- | src/features/spellchecker/index.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/features/spellchecker/index.js b/src/features/spellchecker/index.js deleted file mode 100644 index 6a393e250..000000000 --- a/src/features/spellchecker/index.js +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | import { autorun, observable } from 'mobx'; | ||
2 | |||
3 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; | ||
4 | |||
5 | const debug = require('debug')('Ferdi:feature:spellchecker'); | ||
6 | |||
7 | export const config = observable({ | ||
8 | isIncludedInCurrentPlan: DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan, | ||
9 | }); | ||
10 | |||
11 | export default function init() { | ||
12 | debug('Initializing `spellchecker` feature'); | ||
13 | |||
14 | autorun(() => { | ||
15 | // const { isSpellcheckerIncludedInCurrentPlan } = stores.features.features; | ||
16 | |||
17 | // config.isIncludedInCurrentPlan = isSpellcheckerIncludedInCurrentPlan !== undefined ? isSpellcheckerIncludedInCurrentPlan : DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan; | ||
18 | |||
19 | // if (!stores.user.data.isPremium && config.isIncludedInCurrentPlan && stores.settings.app.enableSpellchecking) { | ||
20 | // debug('Override settings.spellcheckerEnabled flag to false'); | ||
21 | |||
22 | // Object.assign(stores.settings.app, { | ||
23 | // enableSpellchecking: false, | ||
24 | // }); | ||
25 | // } | ||
26 | }); | ||
27 | } | ||