[MM-36747] Spellchecker custom urls (cherrypick to TS) (#1669)

* [MM-36747] Allow users to specify spellchecker url for downloading dictionaries

* fix settings keys

Co-authored-by: = <=>
This commit is contained in:
Guillermo Vayá
2021-07-26 15:28:49 +02:00
committed by GitHub
parent f5ca0f9ef5
commit d77c823bd5
5 changed files with 129 additions and 10 deletions

View File

@@ -34,6 +34,7 @@ export type ConfigV3 = {
spellCheckerLocale: string;
darkMode: boolean;
downloadLocation: string;
spellCheckerURL?: string;
}
export type ConfigV2 = {
@@ -56,6 +57,7 @@ export type ConfigV2 = {
enableHardwareAcceleration: boolean;
autostart: boolean;
spellCheckerLocale: string;
spellCheckerURL?: string;
darkMode: boolean;
downloadLocation: string;
}
@@ -76,6 +78,7 @@ export type ConfigV1 = {
};
showUnreadBadge: boolean;
useSpellChecker: boolean;
spellCheckerURL?: string;
enableHardwareAcceleration: boolean;
autostart: boolean;
spellCheckerLocale: string;