summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-03-27 16:11:36 +1100
committerailurux <ailuruxx@gmail.com>2024-03-27 16:11:36 +1100
commitbf58cb7acf402420158f3ac2530f62ddc3057914 (patch)
tree13709d2ff27b567b1b155b2fe1243c65279111b0
parent489fbceb2b5a623ea502ab647f023d2e2e566121 (diff)
downloadtangara-fw-bf58cb7acf402420158f3ac2530f62ddc3057914.tar.gz
Minor fixes
-rw-r--r--lua/browser.lua2
-rw-r--r--src/lua/lua_theme.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/browser.lua b/lua/browser.lua
index fa412021..924381ea 100644
--- a/lua/browser.lua
+++ b/lua/browser.lua
@@ -43,7 +43,7 @@ return screen:new {
pad_right = 4,
pad_bottom = 2,
bg_opa = lvgl.OPA(100),
- scrollbar_mode = lvgl.SCROLLBAR_MODE.OFF,
+ scrollbar_mode = lvgl.SCROLLBAR_MODE.OFF,
}
theme.set_style(header, "header")
diff --git a/src/lua/lua_theme.cpp b/src/lua/lua_theme.cpp
index 2fcd71e5..32d6f660 100644
--- a/src/lua/lua_theme.cpp
+++ b/src/lua/lua_theme.cpp
@@ -59,7 +59,7 @@ static auto set_theme(lua_State* L) -> int {
// Style
lv_style_t* style = luavgl_to_style(L, -1);
if (style == NULL) {
- ESP_LOGI("DANIEL", "Style was null or malformed??");
+ ESP_LOGI(kTag, "Style was null or malformed");
return 0;
} else {
ui::themes::Theme::instance()->AddStyle(class_name, selector, style);