loader info

This commit is contained in:
2026-08-02 20:22:50 +02:00
parent a88e50bf8b
commit 3e16e3dd34
4 changed files with 39 additions and 6 deletions
+5 -1
View File
@@ -95,10 +95,14 @@ void mvgScreen_refresh(Screen &) {
buildList();
}
void mvgScreen_tick(Screen &) {
void mvgScreen_tick(Screen &s) {
if (lastFetchMs == 0 || millis() - lastFetchMs >= REFRESH_INTERVAL_MS) {
s.showLoading(true);
lv_timer_handler();
doFetch();
buildList();
s.showLoading(false);
lv_timer_handler();
}
}