Prevent weather icon flicker
This commit is contained in:
1 parent
c7952c980f
commit
be1aab859d
3 files changed
+10
-1
No files matched your search
@@ -315,7 +315,7 @@ Panel {
|
||||
var parsed = JSON.parse(raw)
|
||||
root.report = parsed
|
||||
if (!root.hasConfiguredCoordinates)
|
||||
root.label = Model.currentIcon(parsed.current_condition && parsed.current_condition[0], root.label)
|
||||
root.label = Model.provisionalCurrentIcon(parsed.current_condition && parsed.current_condition[0], root.label)
|
||||
root.forecastRetries = 0
|
||||
if (Model.weatherResponseCompletesSave(root.hasConfiguredCoordinates, "wttr"))
|
||||
root.finishSavingLocation()
|
||||
|
||||
Reference in new issue
Block a user