feat(radio): increase length of sound/script file name to 8 for SF/GF (#5046)

This commit is contained in:
philmoz
2024-06-06 20:08:37 +10:00
committed by GitHub
parent 97f9884639
commit 253783df6a
13 changed files with 58 additions and 63 deletions
@@ -313,6 +313,8 @@ void menuSpecialFunctions(event_t event, CustomFunctionData * functions, CustomF
if (func == FUNC_PLAY_SCRIPT)
x = x - 5 * FW;
else if (func == FUNC_PLAY_TRACK)
x = x - 3 * FW;
else if (func == FUNC_BACKGND_MUSIC)
x = x - 2 * FW;
if (ZEXIST(cfn->play.name))
lcdDrawSizedText(x, y, cfn->play.name, sizeof(cfn->play.name), attr);