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

pull/15851/head
Š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
1 changed files with 1 additions and 0 deletions

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;
}