2 Bug fixes

1. Fixed a bug where templates failed to display in toggle menu items (at least on some devices).
2. Fixed a bug where a menu item requesting to exit on completion appeared to indicate failure when using Wi-Fi or LTE. The fix uses a delay in exiting the application modelled as sufficient for a Venu 2 device, so this might need tweaking for other devices.
This commit is contained in:
Philip Abbey
2025-09-12 14:34:16 +01:00
parent 46e44ada30
commit e284cd2d4a
6 changed files with 47 additions and 27 deletions

View File

@@ -49,4 +49,9 @@ class Globals {
//! After running a task by Wi-Fi/LTE synchronisation the periodic updates need to resume. This
//! is the delay between synchronisation completion and resumption of updates.
static const wifiPollResumeDelayMs = 2000; // ms
//! After running a task by Wi-Fi/LTE synchronisation the if the menu item requests to quit the
//! application, this is the delay to wait after synchronisation completion before quitting.
//! Failure to wait causes the transfer to indicate a failure.
static const wifiQuitDelayMs = 5000; // ms
}