chore(color): cleanup UI code (#6989)

This commit is contained in:
philmoz
2026-01-21 12:48:24 +10:00
committed by GitHub
parent ca21f02afc
commit b0ecde2842
207 changed files with 1204 additions and 1208 deletions
+3 -3
View File
@@ -29,11 +29,12 @@
#include "lua/lua_states.h"
#if defined(COLORLCD)
#include "LvglWrapper.h"
#include "view_main.h"
#include "startup_shutdown.h"
#include "theme_manager.h"
#include "etx_lv_theme.h"
#include "menu.h"
#include "mainwindow.h"
#endif
#if defined(CLI)
@@ -349,7 +350,6 @@ void guiMain(event_t evt)
}
#endif
LvglWrapper::instance()->run();
MainWindow::instance()->run();
bool mainViewRequested = (mainRequestFlags & (1u << REQUEST_MAIN_VIEW));
@@ -540,7 +540,7 @@ void perMain()
if (usbPlugged() && getSelectedUsbMode() == USB_MASS_STORAGE_MODE) {
#if defined(COLORLCD)
LvglWrapper::instance()->run();
MainWindow::instance()->run();
usbConnectedWindow->checkEvents();
#else
// disable access to menus