useDimer set default to true

This commit is contained in:
Chrystian Huot 2020-06-08 11:40:15 -04:00
parent b40eb3405e
commit f8231f6e45
2 changed files with 3 additions and 3 deletions

View file

@ -14,8 +14,8 @@
"pruneDays": 7,
// [optional] Lower the display brightness when no active call
// The default is false
"useDimmer": false,
// The default is true
"useDimmer": true,
// [optional] Can talkgroups be activated/disabled by groups on the *select tgs panel*
// The default is true

View file

@ -35,7 +35,7 @@ class Config {
this.systems = Array.isArray(config.systems) ? config.systems : [];
this.useDimmer = typeof config.useDimmer === 'boolean' ? config.useDimmer : false;
this.useDimmer = typeof config.useDimmer === 'boolean' ? config.useDimmer : true;
this.useGroup = typeof config.useGroup === 'boolean' ? config.useGroup : true;