1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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.