Skip to content

Commit 600f975

Browse files
aod: fix aod setting during notification sleep
1 parent ae6b168 commit 600f975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/displayapp/screens/settings/SettingDisplay.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ SettingDisplay::SettingDisplay(Pinetime::Applications::DisplayApp* app, Pinetime
6666

6767
alwaysOn_checkbox = lv_checkbox_create(container1, nullptr);
6868
lv_checkbox_set_text(alwaysOn_checkbox, "Always On");
69-
lv_checkbox_set_checked(alwaysOn_checkbox, settingsController.GetAlwaysOnDisplay());
69+
lv_checkbox_set_checked(alwaysOn_checkbox, settingsController.GetAlwaysOnDisplaySetting());
7070
lv_obj_add_state(alwaysOn_checkbox, LV_STATE_DEFAULT);
7171
alwaysOn_checkbox->user_data = this;
7272
lv_obj_set_event_cb(alwaysOn_checkbox, alwaysOn_event_handler);
@@ -79,7 +79,7 @@ SettingDisplay::~SettingDisplay() {
7979

8080
void SettingDisplay::ToggleAlwaysOn() {
8181
settingsController.SetAlwaysOnDisplaySetting(!settingsController.GetAlwaysOnDisplaySetting());
82-
lv_checkbox_set_checked(alwaysOn_checkbox, settingsController.GetAlwaysOnDisplay());
82+
lv_checkbox_set_checked(alwaysOn_checkbox, settingsController.GetAlwaysOnDisplaySetting());
8383
}
8484

8585
void SettingDisplay::UpdateSelected(lv_obj_t* object, lv_event_t event) {

0 commit comments

Comments
 (0)