chore: Remove redundant leftover from #3058
This commit is contained in:
@@ -52,7 +52,6 @@ class SpecialFunctionEditPage : public Page
|
|||||||
uint8_t index;
|
uint8_t index;
|
||||||
FormWindow *specialFunctionOneWindow = nullptr;
|
FormWindow *specialFunctionOneWindow = nullptr;
|
||||||
StaticText *headerSF = nullptr;
|
StaticText *headerSF = nullptr;
|
||||||
StaticText *sfSwitchText = nullptr;
|
|
||||||
bool active = false;
|
bool active = false;
|
||||||
|
|
||||||
bool isActive() const
|
bool isActive() const
|
||||||
@@ -364,7 +363,7 @@ class SpecialFunctionEditPage : public Page
|
|||||||
|
|
||||||
// Switch
|
// Switch
|
||||||
auto line = window->newLine(&grid);
|
auto line = window->newLine(&grid);
|
||||||
sfSwitchText = new StaticText(line, rect_t{}, STR_SF_SWITCH, 0, COLOR_THEME_PRIMARY1);
|
new StaticText(line, rect_t{}, STR_SF_SWITCH, 0, COLOR_THEME_PRIMARY1);
|
||||||
auto switchChoice =
|
auto switchChoice =
|
||||||
new SwitchChoice(line, rect_t{}, SWSRC_FIRST, SWSRC_LAST,
|
new SwitchChoice(line, rect_t{}, SWSRC_FIRST, SWSRC_LAST,
|
||||||
GET_SET_DEFAULT(CFN_SWITCH(cfn)));
|
GET_SET_DEFAULT(CFN_SWITCH(cfn)));
|
||||||
|
|||||||
Reference in New Issue
Block a user