fix warnings

This commit is contained in:
NP v/d Spek 2024-03-05 15:01:40 +01:00
parent f74b439636
commit 75fcbc097d
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ void StatusIndicator::loop() {
if (status.empty() && api::global_api_server != nullptr && not api::global_api_server->is_connected()) {
status = "on_api_disconnected";
this->status_.on_api = 1;
} else if (this->status_.on_error) {
} else if (this->status_.on_api) {
status = "on_api_connected";
this->status_.on_api = 0;
}