Tweak colors
This commit is contained in:
@@ -105,9 +105,9 @@ mod handlers {
|
|||||||
|
|
||||||
if temperature < 16.0 {
|
if temperature < 16.0 {
|
||||||
label.set_color(Color::Blue);
|
label.set_color(Color::Blue);
|
||||||
} else if temperature < 18.0 {
|
|
||||||
label.set_color(Color::Green);
|
|
||||||
} else if temperature < 20.0 {
|
} else if temperature < 20.0 {
|
||||||
|
label.set_color(Color::Green);
|
||||||
|
} else if temperature < 24.0 {
|
||||||
label.set_color(Color::Orange);
|
label.set_color(Color::Orange);
|
||||||
} else {
|
} else {
|
||||||
label.set_color(Color::Red);
|
label.set_color(Color::Red);
|
||||||
|
|||||||
Reference in New Issue
Block a user