add hide on start option (#1919)

* add hide on start option (#1918)

* text update

* clean up

* removed `hideOnStart` from ConfigV1 & ConfigV2

* tests update
This commit is contained in:
Profesor08
2021-12-13 16:19:59 +02:00
committed by GitHub
parent fca6a75ee4
commit a410222e14
9 changed files with 55 additions and 3 deletions

View File

@@ -119,6 +119,7 @@ const configDataSchemaV3 = Joi.object<ConfigV3>({
useSpellChecker: Joi.boolean().default(true),
enableHardwareAcceleration: Joi.boolean().default(true),
autostart: Joi.boolean().default(true),
hideOnStart: Joi.boolean().default(false),
spellCheckerLocales: Joi.array().items(Joi.string()).default([]),
spellCheckerURL: Joi.string().allow(null),
darkMode: Joi.boolean().default(false),