Allow to configure displayed city name
This commit is contained in:
@@ -377,7 +377,7 @@ void drawCurrentWeather() {
|
||||
gfx.setFont(ArialRoundedMTBold_14);
|
||||
gfx.setColor(MINI_BLUE);
|
||||
gfx.setTextAlignment(TEXT_ALIGN_RIGHT);
|
||||
gfx.drawString(220, 65, currentWeather.cityName);
|
||||
gfx.drawString(220, 65, DISPLAYED_CITY_NAME);
|
||||
|
||||
gfx.setFont(ArialRoundedMTBold_36);
|
||||
gfx.setColor(MINI_WHITE);
|
||||
|
||||
@@ -39,6 +39,7 @@ data for. It'll be a URL like https://openweathermap.org/city/2657896. The numbe
|
||||
at the end is what you assign to the constant below.
|
||||
*/
|
||||
String OPEN_WEATHER_MAP_LOCATION_ID = "2657896";
|
||||
String DISPLAYED_CITY_NAME = "Zurich";
|
||||
/*
|
||||
Arabic -> ar, Bulgarian -> bg, Catalan -> ca, Czech -> cz, German -> de, Greek -> el,
|
||||
English -> en, Persian (Farsi) -> fa, Finnish -> fi, French -> fr, Galician -> gl,
|
||||
|
||||
Reference in New Issue
Block a user