Skip to content

Commit 58944b5

Browse files
committed
Avoid blinking during FindMyPhone app start.
1 parent f505df6 commit 58944b5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/displayapp/screens/FindMyPhone.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ FindMyPhone::FindMyPhone(Pinetime::Controllers::ImmediateAlertClient& immediateA
7272
lv_label_set_text_static(lblRing, ringLabelText);
7373
lv_obj_set_style_local_bg_color(btnRing, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_RED);
7474
refreshTask = lv_task_create(RefreshTaskCallback, LV_DISP_DEF_REFR_PERIOD, LV_TASK_PRIO_MID, this);
75+
// Refresh ASAP to properly set buttons state.
76+
Refresh();
7577
}
7678

7779
FindMyPhone::~FindMyPhone() {

0 commit comments

Comments
 (0)