From f8231f6e45f64b263a89264f464570fb3647265e Mon Sep 17 00:00:00 2001 From: Chrystian Huot Date: Mon, 8 Jun 2020 11:40:15 -0400 Subject: [PATCH] useDimer set default to true --- docs/config/others.md | 4 ++-- server/lib/rdio-scanner/config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/config/others.md b/docs/config/others.md index ebdf168..07c42ff 100644 --- a/docs/config/others.md +++ b/docs/config/others.md @@ -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 diff --git a/server/lib/rdio-scanner/config.js b/server/lib/rdio-scanner/config.js index 82c58f4..93fb8c7 100644 --- a/server/lib/rdio-scanner/config.js +++ b/server/lib/rdio-scanner/config.js @@ -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;