mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-04-19 15:27:40 +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) {
|
if (percentage2 > thresholds.green) {
|
||||||
color2 = Color.green()
|
color2 = Color.green()
|
||||||
} else if (percentage > thresholds.amber) {
|
} else if (percentage2 > thresholds.amber) {
|
||||||
color2 = Color.orange()
|
color2 = Color.orange()
|
||||||
} else {
|
} else {
|
||||||
color2 = Color.red()
|
color2 = Color.red()
|
||||||
|
|
Loading…
Add table
Reference in a new issue