Merge branch 'feature-multi-language-spell-check' of https://github.com/SimonBrandner/element-web into feature-multi-language-spell-check

This commit is contained in:
Šimon Brandner 2021-03-02 14:58:58 +01:00
commit 86d7652d93
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -328,6 +328,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
* spell-checking, otherwise false.
*/
supportsMultiLanguageSpellCheck(): boolean {
// Electron uses OS spell checking on macOS, so no need for in-app options
if (isMac) return false;
return true;
}