Skip to content

Commit

Permalink
disable UIApexCard for now, it is unhappy here
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Sep 2, 2024
1 parent 6801941 commit b4d82d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ if get_option('front-lvgl').enabled()
'src/uicomponents/imgs/white24.c',
'src/uicomponents/uirgblight.cpp',
'src/uicomponents/UILogBox.cpp',
'src/uicomponents/uiapexcard.cpp',
# 'src/uicomponents/uiapexcard.cpp',
'src/uicomponents/UIComponents.cpp',
'src/front-lvgl.cpp',
'src/lv_conf.h',
Expand Down
10 changes: 5 additions & 5 deletions src/front-lvgl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,12 @@ void uithread(int _argc, char* _argv[])
g_log << Logger::Warning << "Card is of type button, but no entity found: " << card << std::endl;
}
}
else if (card["type"] == "custom:apexcharts-card") {
// else if (card["type"] == "custom:apexcharts-card") {

std::unique_ptr<UIEntity> apex = std::make_unique<UIApexCard>(card, cont_row);
uielements.push_back(std::move(apex));
g_log << Logger::Warning << "got apex card" << std::endl;
}
// std::unique_ptr<UIEntity> apex = std::make_unique<UIApexCard>(card, cont_row);
// uielements.push_back(std::move(apex));
// g_log << Logger::Warning << "got apex card" << std::endl;
// }
else {
if (card.contains(("entity"))) {
g_log << Logger::Warning << "Card of type " << card["type"] << " found, but we have no matching UIEntity. Creating dummy for entity." << card["entity"] << std::endl;
Expand Down

0 comments on commit b4d82d3

Please sign in to comment.