diff --git a/src/displayapp/screens/CheckboxList.cpp b/src/displayapp/screens/CheckboxList.cpp index 3be2f0867f..f30dd50355 100644 --- a/src/displayapp/screens/CheckboxList.cpp +++ b/src/displayapp/screens/CheckboxList.cpp @@ -82,14 +82,14 @@ CheckboxList::CheckboxList(const uint8_t screenID, CheckboxList::~CheckboxList() { lv_obj_clean(lv_scr_act()); - if(!IsChecked_) { + if (!IsChecked_) { OnValueChanged(value); } } void CheckboxList::UpdateSelected(lv_obj_t* object, lv_event_t event) { if (event == LV_EVENT_VALUE_CHANGED) { - if(!IsChecked_) { + if (!IsChecked_) { for (unsigned int i = 0; i < options.size(); i++) { if (strcmp(options[i].name, "")) { if (object == cbOption[i]) { diff --git a/src/displayapp/screens/settings/SettingWakeUp.cpp b/src/displayapp/screens/settings/SettingWakeUp.cpp index ff4eac6dbd..6331d6e674 100644 --- a/src/displayapp/screens/settings/SettingWakeUp.cpp +++ b/src/displayapp/screens/settings/SettingWakeUp.cpp @@ -52,11 +52,8 @@ auto SettingWakeUp::CreateScreenList() const { return screens; } -SettingWakeUp::SettingWakeUp( - Pinetime::Applications::DisplayApp* app, - Pinetime::Controllers::Settings& settingsController) - : settingsController {settingsController}, - screens {app, 0, CreateScreenList(), Screens::ScreenListModes::UpDown} { +SettingWakeUp::SettingWakeUp(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::Settings& settingsController) + : settingsController {settingsController}, screens {app, 0, CreateScreenList(), Screens::ScreenListModes::UpDown} { } SettingWakeUp::~SettingWakeUp() { diff --git a/src/displayapp/screens/settings/SettingWakeUp.h b/src/displayapp/screens/settings/SettingWakeUp.h index 3d54f6e011..176b0495c7 100644 --- a/src/displayapp/screens/settings/SettingWakeUp.h +++ b/src/displayapp/screens/settings/SettingWakeUp.h @@ -16,9 +16,7 @@ namespace Pinetime { class SettingWakeUp : public Screen { public: - SettingWakeUp( - DisplayApp *app, - Pinetime::Controllers::Settings& settingsController); + SettingWakeUp(DisplayApp* app, Pinetime::Controllers::Settings& settingsController); ~SettingWakeUp() override; bool OnTouchEvent(TouchEvents event) override;