Skip to content

Conversation

@kidneyhex
Copy link
Contributor

Link: https://thinkpoop.github.io/BangleApps/?id=owmweather

In boot.js function onCompleted, the settings.updated value is always updated, even if it's being called during error handing.

Example:
GB gets disconnected.
OWMWeather tries to refresh, gets a timeout, sets settings.updated to now + 1hr.
GB gets reconnected.
OWMWeather checks settings.updated and thinks it doesn't need , even though the data is bad.

@bobrippling
Copy link
Collaborator

LGTM, one small comment

@bobrippling
Copy link
Collaborator

Looks grand!

@bobrippling bobrippling merged commit 817e44a into espruino:master Jun 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants