screens: Remove explicit Screen constructors

This constructor didn't do anything since DisplayApp reference was
removed from the Screen base class.
This commit is contained in:
Riku Isokoski
2023-02-22 22:18:15 +02:00
parent 7c7a8602c4
commit c78211952e
33 changed files with 32 additions and 44 deletions

View File

@@ -19,8 +19,7 @@ CheckboxList::CheckboxList(const uint8_t screenID,
uint32_t originalValue,
std::function<void(uint32_t)> OnValueChanged,
std::array<Item, MaxItems> options)
: Screen(app),
screenID {screenID},
: screenID {screenID},
OnValueChanged {std::move(OnValueChanged)},
options {options},
value {originalValue},