diff --git a/src/blocks/net.rs b/src/blocks/net.rs index d641d5303..4b9433879 100644 --- a/src/blocks/net.rs +++ b/src/blocks/net.rs @@ -116,8 +116,10 @@ pub async fn run(config: &Config, api: &CommonApi) -> Result<()> { let mut widget = Widget::new(); if device.is_up() { + widget.state = State::Good; widget.set_format(format.clone()); } else { + widget.state = State::Warning; widget.set_format(inactive_format.clone()); }