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

@@ -236,6 +236,9 @@ export class Config extends EventEmitter {
get autostart() {
return this.combinedData?.autostart ?? defaultPreferences.autostart;
}
get hideOnStart() {
return this.combinedData?.hideOnStart ?? defaultPreferences.hideOnStart;
}
get notifications() {
return this.combinedData?.notifications ?? defaultPreferences.notifications;
}