Hide spell-check settings if not using Electron
This commit is contained in:
parent
1c9d25986a
commit
6844c8f92e
2 changed files with 16 additions and 0 deletions
|
@ -324,6 +324,14 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
return 'Electron Platform'; // no translation required: only used for analytics
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if platform supports multi-language
|
||||
* spell-checking, otherwise false.
|
||||
*/
|
||||
supportsMultiLanguageSpellCheck(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
setNotificationCount(count: number) {
|
||||
if (this.notificationCount === count) return;
|
||||
super.setNotificationCount(count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue