From 7e026e2b498fec4995871df111e5f14baf1bfc28 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Fri, 27 Jan 2023 19:20:11 +1000 Subject: [PATCH] chore: Remove redundant leftover from #3058 --- radio/src/gui/colorlcd/special_functions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radio/src/gui/colorlcd/special_functions.cpp b/radio/src/gui/colorlcd/special_functions.cpp index f5ce80c1d..7ddd44729 100644 --- a/radio/src/gui/colorlcd/special_functions.cpp +++ b/radio/src/gui/colorlcd/special_functions.cpp @@ -52,7 +52,6 @@ class SpecialFunctionEditPage : public Page uint8_t index; FormWindow *specialFunctionOneWindow = nullptr; StaticText *headerSF = nullptr; - StaticText *sfSwitchText = nullptr; bool active = false; bool isActive() const @@ -364,7 +363,7 @@ class SpecialFunctionEditPage : public Page // Switch 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 = new SwitchChoice(line, rect_t{}, SWSRC_FIRST, SWSRC_LAST, GET_SET_DEFAULT(CFN_SWITCH(cfn)));