Fix typo, that errornously leads to an incorrect warning message about missing forecast.io api-key.

merge-requests/218/head
Jens Lody 9 years ago
parent f938d0d710
commit 34aa242b80
  1. 2
      src/extension.js

@ -412,7 +412,7 @@ const OpenweatherMenuButton = new Lang.Class({
this.fc_locale = locale;
}
if (this._appid_fc.toString().trim() !== '')
if (this._appid_fc.toString().trim() == '')
Main.notify("Openweather", _("Forecast.io does not work without an api-key.\nPlease register at https://developer.forecast.io/register and paste your personal key into the preferences dialog."));
},

Loading…
Cancel
Save