diff options
| author | Jean-François Milants <jf@codingfield.com> | 2022-10-11 21:11:23 +0200 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2022-10-11 21:16:33 +0200 |
| commit | 8c7be1fbb1d172ffc5cf99ec2b013f11f35dc421 (patch) | |
| tree | 2807e32c74255e22038e40c5414ce0069e44658d /src/displayapp/screens/CheckboxList.cpp | |
| parent | 4ec49bde8a8cce78b8b72c978b3e3b1d529cef48 (diff) | |
CheckboxList : fix formatting.
Diffstat (limited to 'src/displayapp/screens/CheckboxList.cpp')
| -rw-r--r-- | src/displayapp/screens/CheckboxList.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/displayapp/screens/CheckboxList.cpp b/src/displayapp/screens/CheckboxList.cpp index 3d84166c..d97726dd 100644 --- a/src/displayapp/screens/CheckboxList.cpp +++ b/src/displayapp/screens/CheckboxList.cpp @@ -17,12 +17,9 @@ CheckboxList::CheckboxList(const uint8_t screenID, const char* optionsTitle, const char* optionsSymbol, uint32_t originalValue, - std::function<void(uint32_t)>OnValueChanged, + std::function<void(uint32_t)> OnValueChanged, std::array<const char*, MaxItems> options) - : Screen(app), - screenID {screenID}, - OnValueChanged{std::move(OnValueChanged)}, - options {options}, value {originalValue} { + : Screen(app), screenID {screenID}, OnValueChanged {std::move(OnValueChanged)}, options {options}, value {originalValue} { // Set the background to Black lv_obj_set_style_local_bg_color(lv_scr_act(), LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK); |
