File tree Expand file tree Collapse file tree
src/displayapp/screens/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99using namespace Pinetime ::Applications::Screens;
1010
11- constexpr std::array<SettingWakeUp::Option, 5 > SettingWakeUp::options;
12-
1311namespace {
1412 void event_handler (lv_obj_t * obj, lv_event_t event) {
1513 auto * screen = static_cast <SettingWakeUp*>(obj->user_data );
@@ -45,7 +43,7 @@ SettingWakeUp::SettingWakeUp(Pinetime::Controllers::Settings& settingsController
4543
4644 for (unsigned int i = 0 ; i < options.size (); i++) {
4745 cbOption[i] = lv_checkbox_create (container1, nullptr );
48- lv_checkbox_set_text (cbOption[i], options[i].name );
46+ lv_checkbox_set_text_static (cbOption[i], options[i].name );
4947 if (settingsController.isWakeUpModeOn (static_cast <Controllers::Settings::WakeUpMode>(i))) {
5048 lv_checkbox_set_checked (cbOption[i], true );
5149 }
You can’t perform that action at this time.
0 commit comments