|
|
|
@ -207,7 +207,7 @@ WeatherMenuButton.prototype = { |
|
|
|
|
let location = weather.get_object_member('location').get_string_member('city'); |
|
|
|
|
let comment = weather.get_object_member('condition').get_string_member('text'); |
|
|
|
|
let temperature = weather.get_object_member('condition').get_double_member('temperature'); |
|
|
|
|
let temperature_unit = weather.get_object_member('units').get_string_member('temperature'); |
|
|
|
|
let temperature_unit = '\u00b0' + weather.get_object_member('units').get_string_member('temperature'); |
|
|
|
|
let humidity = weather.get_object_member('atmosphere').get_string_member('humidity') + ' %'; |
|
|
|
|
let pressure = weather.get_object_member('atmosphere').get_double_member('pressure'); |
|
|
|
|
pressure_unit = weather.get_object_member('units').get_string_member('pressure'); |
|
|
|
|