Skip to content

Commit

Permalink
Avoid blinking during FindMyPhone app start.
Browse files Browse the repository at this point in the history
Signed-off-by: Vyacheslav Chigrin <[email protected]>
  • Loading branch information
vchigrin committed Dec 7, 2024
1 parent 099b305 commit 3ba6ca1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/displayapp/screens/FindMyPhone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ FindMyPhone::FindMyPhone(Pinetime::Controllers::ImmediateAlertClient& immediateA
lv_label_set_text_static(lblRing, ringLabelText);
lv_obj_set_style_local_bg_color(btnRing, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_RED);
refreshTask = lv_task_create(RefreshTaskCallback, LV_DISP_DEF_REFR_PERIOD, LV_TASK_PRIO_MID, this);
// Refresh ASAP to properly set buttons state.
Refresh();
}

FindMyPhone::~FindMyPhone() {
Expand Down

0 comments on commit 3ba6ca1

Please sign in to comment.