Suppress status-bar updates if nothing had changed

This commit is contained in:
jpirnay
2026-05-19 21:28:43 +02:00
parent 102ff5f745
commit 9b6d77821a
9 changed files with 105 additions and 3 deletions
+3 -1
View File
@@ -111,7 +111,9 @@ void ActivityManager::loop() {
time_t minute = now / 60;
if (minute != lastMinute) {
lastMinute = minute;
requestUpdate();
if (!currentActivity || !currentActivity->shouldSkipPeriodicUpdate()) {
requestUpdate();
}
}
}
}