|
|
@ -59,7 +59,7 @@ static auto set_theme(lua_State* L) -> int { |
|
|
|
// Style
|
|
|
|
// Style
|
|
|
|
lv_style_t* style = luavgl_to_style(L, -1); |
|
|
|
lv_style_t* style = luavgl_to_style(L, -1); |
|
|
|
if (style == NULL) { |
|
|
|
if (style == NULL) { |
|
|
|
ESP_LOGI("DANIEL", "Style was null or malformed??"); |
|
|
|
ESP_LOGI(kTag, "Style was null or malformed"); |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
ui::themes::Theme::instance()->AddStyle(class_name, selector, style); |
|
|
|
ui::themes::Theme::instance()->AddStyle(class_name, selector, style); |
|
|
|