Florian Müllner 2021-01-12 17:30:16 +01:00 committed by Marge Bot
parent 42ce04b108
commit 7458d5ad07

View File

@ -68,9 +68,10 @@ var WeatherClient = class {
this._world = GWeather.Location.get_world();
let providers = GWeather.Provider.METAR |
GWeather.Provider.YR_NO |
GWeather.Provider.OWM;
const providers =
GWeather.Provider.METAR |
GWeather.Provider.MET_NO |
GWeather.Provider.OWM;
this._weatherInfo = new GWeather.Info({ enabled_providers: providers });
this._weatherInfo.connect_after('updated', () => {
this._lastUpdate = GLib.DateTime.new_now_local();