diff options
Diffstat (limited to 'src/ui/screen_lua.cpp')
| -rw-r--r-- | src/ui/screen_lua.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/screen_lua.cpp b/src/ui/screen_lua.cpp index 55eef119..d43c7ee7 100644 --- a/src/ui/screen_lua.cpp +++ b/src/ui/screen_lua.cpp @@ -9,6 +9,7 @@ #include "core/lv_obj_tree.h" #include "lua.h" #include "lua.hpp" +#include "themes.hpp" #include "lua_thread.hpp" #include "luavgl.h" @@ -16,7 +17,9 @@ namespace ui { namespace screens { -Lua::Lua() : s_(nullptr), obj_ref_() {} +Lua::Lua() : s_(nullptr), obj_ref_() { + themes::Theme::instance()->ApplyStyle(root_, "root"); +} Lua::~Lua() { if (s_ && obj_ref_) { |
