Fix bleIcon in Infineat watchface after upstream rebase

This commit is contained in:
Diego Miguel 2022-04-03 17:49:32 +02:00
parent dd0d2a4102
commit a4c3558ed7

View file

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