mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
Weather icon: fix thunderstorm
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user