if (argc == 5)
{
// Render the button with no text
- buttonRender(x, y, w, h, (uint16_t)fontcolor, NULL, THEME_DEFAULT);
+ buttonRender(x, y, w, h, (uint16_t)fontcolor, NULL, themeGetDefault());
}
else
{
*data_ptr++ = '\0';
// Render the button with text
- buttonRender(x, y, w, h, (uint16_t)fontcolor, (char *)&data, THEME_DEFAULT);
+ buttonRender(x, y, w, h, (uint16_t)fontcolor, (char *)&data, themeGetDefault());
}
}