Fix bleIcon in Infineat watchface after upstream rebase

main
Diego Miguel 2022-04-03 17:49:32 +07:00
parent dd0d2a4102
commit a4c3558ed7
1 changed files with 2 additions and 2 deletions

@ -450,8 +450,8 @@ void WatchFaceInfineat::Refresh() {
bleState = bleController.IsConnected(); bleState = bleController.IsConnected();
bleRadioEnabled = bleController.IsRadioEnabled(); bleRadioEnabled = bleController.IsRadioEnabled();
if (bleState.IsUpdated()) { if (bleState.IsUpdated()) {
lv_label_set_text(bleIcon, BleIcon::GetIcon(bleRadioEnabled.Get(), bleState.Get())); lv_label_set_text(bleIcon, BleIcon::GetIcon(bleState.Get()));
lv_obj_align(bleIcon, labelDate, LV_ALIGN_OUT_BOTTOM_MID, 0, 3); lv_obj_align(bleIcon, dateContainer, LV_ALIGN_OUT_BOTTOM_MID, 0, 3);
} }
stepCount = motionController.NbSteps(); stepCount = motionController.NbSteps();