Add a comment

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Šimon Brandner 2021-03-02 14:53:04 +01:00 committed by GitHub
parent 8cf2ab436d
commit 0f7a42258c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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