fix(color): crash in SF list when using CN/TW translations (#4862)

This commit is contained in:
philmoz
2024-04-08 19:20:04 +10:00
committed by GitHub
parent 4b8f80af3a
commit ecad4d6150
+1 -1
View File
@@ -187,7 +187,7 @@ void FunctionLineButton::refresh()
uint8_t func = CFN_FUNC(cfn);
char s[32];
char s[64];
lv_label_set_text(sfName, (prefix + std::to_string(index + 1)).c_str());
lv_label_set_text(sfSwitch, getSwitchPositionName(CFN_SWITCH(cfn)));