From 0114eaedff87fcd6cbdce695274c22bcc6475652 Mon Sep 17 00:00:00 2001 From: philmoz Date: Thu, 25 Jun 2026 14:42:06 +1000 Subject: [PATCH] fix(color): do not show 'Group' label when editing radio settings for custom switches (#7488) --- radio/src/gui/colorlcd/model/function_switches.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio/src/gui/colorlcd/model/function_switches.cpp b/radio/src/gui/colorlcd/model/function_switches.cpp index 5fbf41d8e..b206ee0b1 100644 --- a/radio/src/gui/colorlcd/model/function_switches.cpp +++ b/radio/src/gui/colorlcd/model/function_switches.cpp @@ -330,7 +330,8 @@ FunctionSwitchesBase::FunctionSwitchesBase(EdgeTxIcon icon, const char* title) : new StaticText(box, {FunctionSwitch::NM_X + PAD_OUTLINE, 0, FunctionSwitch::NM_W, 0}, STR_NAME, COLOR_THEME_PRIMARY1_INDEX, FONT(XS)); new StaticText(box, {FunctionSwitch::TP_X + PAD_OUTLINE, 0, FunctionSwitch::TP_W, 0}, STR_SWITCH_TYPE, COLOR_THEME_PRIMARY1_INDEX, FONT(XS)); - new StaticText(box, {FunctionSwitch::GR_X + PAD_OUTLINE, 0, FunctionSwitch::GR_W, 0}, STR_GROUP, COLOR_THEME_PRIMARY1_INDEX, FONT(XS)); + if (icon == ICON_MODEL_SETUP) + new StaticText(box, {FunctionSwitch::GR_X + PAD_OUTLINE, 0, FunctionSwitch::GR_W, 0}, STR_GROUP, COLOR_THEME_PRIMARY1_INDEX, FONT(XS)); startupHeader = new StaticText(box, {FunctionSwitch::ST_X + PAD_OUTLINE, 0, FunctionSwitch::ST_W, 0}, STR_SWITCH_STARTUP, COLOR_THEME_PRIMARY1_INDEX, FONT(XS)); #if defined(FUNCTION_SWITCHES_RGB_LEDS) && !NARROW_LAYOUT