Use Electron Spellchecker
This commit is contained in:

committed by
Scott Nonnenberg

parent
42152be4af
commit
4a8f5db0a4
@@ -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(),
|
||||
|
Reference in New Issue
Block a user