diff --git a/src/displayapp/widgets/StatusIcons.cpp b/src/displayapp/widgets/StatusIcons.cpp index 777731a59f..f3e7272a67 100644 --- a/src/displayapp/widgets/StatusIcons.cpp +++ b/src/displayapp/widgets/StatusIcons.cpp @@ -48,10 +48,14 @@ void StatusIcons::Update() { lv_obj_set_hidden(alarmIcon, !alarmEnabled.Get()); } - bleState = bleController.IsConnected(); bleRadioEnabled = bleController.IsRadioEnabled(); - if (bleState.IsUpdated() || bleRadioEnabled.IsUpdated()) { - lv_obj_set_hidden(bleIcon, !bleState.Get()); + if (bleRadioEnabled.IsUpdated()) { + lv_obj_set_hidden(bleIcon, !bleRadioEnabled.Get()); + } + + bleState = bleController.IsConnected(); + if (bleState.IsUpdated()) { + lv_obj_set_style_local_text_color(bleIcon, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, bleState.Get() ? LV_COLOR_BLUE : LV_COLOR_GRAY); } lv_obj_realign(container);