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
This commit is contained in:
bbaldino 2018-06-21 17:30:19 -07:00 committed by virtuacoplenny
parent 942d7d7e56
commit 11c9d5f0ef
1 changed files with 2 additions and 2 deletions

View File

@ -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%'
},