Skip to content

Commit 00030de

Browse files
shane-droidpfeerick
authored andcommitted
Update special_functions.cpp
paint special function custom name (cherry picked from commit 59fc7c1938cd9cea8618d7b80af9c70a96cf0921)
1 parent 5c16aef commit 00030de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

radio/src/gui/colorlcd/special_functions.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,8 @@ class SpecialFunctionButton : public Button
500500
uint8_t func = CFN_FUNC(cfn);
501501

502502
drawSwitch(dc, col1, line1, CFN_SWITCH(cfn), COLOR_THEME_SECONDARY1);
503-
dc->drawText(col3, line1, "CustLabelPlaceHolder", COLOR_THEME_SECONDARY1);
503+
//paint special function custom name
504+
dc->drawText(col3, line1, cfn->custName, COLOR_THEME_SECONDARY1);
504505
if (cfn->isEmpty()) return;
505506

506507
dc->drawTextAtIndex(col2, line1, STR_VFSWFUNC, func, COLOR_THEME_SECONDARY1);

0 commit comments

Comments
 (0)