Migrate ES3C35P to latest main firmware

This commit is contained in:
Adolfo Reyna
2026-09-10 13:31:10 -04:00
parent 8556103eb1
commit 310b955652
51 changed files with 6873 additions and 181 deletions
+6 -1
View File
@@ -107,6 +107,9 @@ void showNoInternet(Context* ctx) {
}
void showApps(Context* ctx) {
if (ctx->contentWrapper == nullptr) {
return;
}
// Refresh rebuilds the list from scratch (cached copy, then again once the network fetch
// lands), which would otherwise reset the user's scroll position each time.
int32_t scrollY;
@@ -266,7 +269,9 @@ void createWidgets(lv_obj_t* parent, void* userData) {
void destroyWidgets(void* userData) {
auto* ctx = static_cast<Context*>(userData);
ctx->scrollY = lv_obj_get_scroll_y(ctx->contentWrapper);
if (ctx->contentWrapper != nullptr) {
ctx->scrollY = lv_obj_get_scroll_y(ctx->contentWrapper);
}
ctx->contentWrapper = nullptr;
ctx->refreshButton = nullptr;
}