CheckboxList : fix formatting.

This commit is contained in:
Jean-François Milants
2022-10-11 21:11:23 +02:00
committed by JF
parent 4ec49bde8a
commit 8c7be1fbb1
3 changed files with 28 additions and 29 deletions

View File

@@ -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);