mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-03 02:18:34 +00:00
Amended Globals.mc
Moved wifiPollDelayMs to Globals class.
This commit is contained in:
@ -137,7 +137,7 @@ class ErrorView extends ScalableView {
|
||||
// The call to 'updateMenuItems()' must be on another thread so that the view is popped above.
|
||||
var myTimer = new Timer.Timer();
|
||||
// Now this feels very "closely coupled" to the application, but it is the most reliable method instead of using a timer.
|
||||
myTimer.start(getApp().method(:updateMenuItems), Globals.scApiResume, false);
|
||||
myTimer.start(getApp().method(:updateMenuItems), Globals.scApiResumeMs, false);
|
||||
// This must be last to avoid a race condition with show(), where the
|
||||
// ErrorView can't be dismissed.
|
||||
mShown = false;
|
||||
|
Reference in New Issue
Block a user