Browse Source

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
master
bbaldino 6 years ago
parent
commit
11c9d5f0ef

+ 2
- 2
react/features/connection-indicator/components/ConnectionIndicator.js View File

@@ -16,7 +16,7 @@ import statsEmitter from '../statsEmitter';
16 16
  *
17 17
  * @type {number}
18 18
  */
19
-const INDICATOR_DISPLAY_THRESHOLD = 70;
19
+const INDICATOR_DISPLAY_THRESHOLD = 30;
20 20
 
21 21
 /**
22 22
  * An array of display configurations for the connection indicator and its bars.
@@ -38,7 +38,7 @@ const QUALITY_TO_WIDTH = [
38 38
     // 2 bars
39 39
     {
40 40
         colorClass: 'status-med',
41
-        percent: 40,
41
+        percent: 10,
42 42
         tip: 'connectionindicator.quality.nonoptimal',
43 43
         width: '66%'
44 44
     },

Loading…
Cancel
Save