From 11c9d5f0efdcea2cb090510b020c89002a751e6e Mon Sep 17 00:00:00 2001 From: bbaldino Date: Thu, 21 Jun 2018 17:30:19 -0700 Subject: [PATCH] change the levels for each gsm bar color (#3174) old values: 0-39% -> red, 40-69% -> yellow, 70%+ -> green new values: 0-9% -> red, 10-29% -> yellow, 30%+ -> green --- .../connection-indicator/components/ConnectionIndicator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/features/connection-indicator/components/ConnectionIndicator.js b/react/features/connection-indicator/components/ConnectionIndicator.js index ccd8a6316..563da8fc7 100644 --- a/react/features/connection-indicator/components/ConnectionIndicator.js +++ b/react/features/connection-indicator/components/ConnectionIndicator.js @@ -16,7 +16,7 @@ import statsEmitter from '../statsEmitter'; * * @type {number} */ -const INDICATOR_DISPLAY_THRESHOLD = 70; +const INDICATOR_DISPLAY_THRESHOLD = 30; /** * An array of display configurations for the connection indicator and its bars. @@ -38,7 +38,7 @@ const QUALITY_TO_WIDTH = [ // 2 bars { colorClass: 'status-med', - percent: 40, + percent: 10, tip: 'connectionindicator.quality.nonoptimal', width: '66%' },