Use Electron Spellchecker

This commit is contained in:
Ken Powers 2020-03-20 17:00:11 -04:00 committed by Scott Nonnenberg
parent 42152be4af
commit 4a8f5db0a4
15 changed files with 195 additions and 381 deletions

View file

@ -334,7 +334,6 @@
getSpellCheck: () => storage.get('spell-check', true),
setSpellCheck: value => {
storage.put('spell-check', value);
startSpellCheck();
},
// eslint-disable-next-line eqeqeq
@ -545,19 +544,6 @@
}
});
const startSpellCheck = () => {
if (!window.enableSpellCheck || !window.disableSpellCheck) {
return;
}
if (window.Events.getSpellCheck()) {
window.enableSpellCheck();
} else {
window.disableSpellCheck();
}
};
startSpellCheck();
try {
await Promise.all([
ConversationController.load(),