Hide spell-check settings if not using Electron

This commit is contained in:
Šimon Brandner 2020-12-02 20:14:58 +01:00
parent db5bc0cb7a
commit bab541a652
2 changed files with 12 additions and 1 deletions

View file

@ -128,6 +128,14 @@ export default abstract class BasePlatform {
hideUpdateToast();
}
/**
* Return true if platform supports multi-language
* spell-checking, otherwise false.
*/
supportsMultiLanguageSpellCheck(): boolean {
return false;
}
/**
* Returns true if the platform supports displaying
* notifications, otherwise false.