mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-04-18 23:07:41 +00:00
fix issue with color
This commit is contained in:
parent
e32aa1a7ca
commit
c8e42df4e1
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ function getDiagram(percentage, percentage2) {
|
|||
}
|
||||
if (percentage2 > thresholds.green) {
|
||||
color2 = Color.green()
|
||||
} else if (percentage > thresholds.amber) {
|
||||
} else if (percentage2 > thresholds.amber) {
|
||||
color2 = Color.orange()
|
||||
} else {
|
||||
color2 = Color.red()
|
||||
|
|
Loading…
Add table
Reference in a new issue