Back off updating the weather if wifi doesn't work at first
This commit is contained in:
parent
268fd9986d
commit
f28480291e
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ void WatchFacePages::Weather::Resync()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_lastSyncTime > 0 && currentTime - m_lastSyncAttemptTime < WEATHER_UPDATE_BACKOFF) {
|
if (currentTime - m_lastSyncAttemptTime < WEATHER_UPDATE_BACKOFF) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue