Weather icon: fix thunderstorm
This commit is contained in:
parent
d086d64d5f
commit
b2e11137d4
2 changed files with 6 additions and 4 deletions
|
|
@ -18,9 +18,9 @@ Singleton {
|
|||
"partly_cloudy": "\uF2BE",
|
||||
"cloud": "\uF2C3",
|
||||
"foggy": "\uF2A7",
|
||||
"rainy": "\uF29C",
|
||||
"rainy": "\uF29D",
|
||||
"snowy": "\uF2BC",
|
||||
"thunderstom": "\uF2AC",
|
||||
"thunderstorm": "\uF2AC",
|
||||
"battery_empty": "\uF188",
|
||||
"battery_low": "\uF911",
|
||||
"battery_half": "\uF187",
|
||||
|
|
|
|||
|
|
@ -242,8 +242,10 @@ Singleton {
|
|||
return FontService.icons["rainy"]
|
||||
if (code >= 71 && code <= 77)
|
||||
return FontService.icons["snowy"]
|
||||
if (code >= 80 && code <= 82)
|
||||
return FontService.icons["rainy"]
|
||||
if (code >= 71 && code <= 77)
|
||||
return FontService.icons["snowy"]
|
||||
if (code >= 85 && code <= 86)
|
||||
return FontService.icons["snowy"]
|
||||
if (code >= 95 && code <= 99)
|
||||
return FontService.icons["thunderstorm"]
|
||||
return FontService.icons["cloud"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue