weather-setup: disable api version chooser until api version 3.0 won't work

Origin commit data
------------------
Commit: fedb8d3b68
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-03 (Fri, 03 May 2024)

Origin message was:
------------------
- weather-setup: disable api version chooser until api version 3.0 won't work

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2024-05-03 22:24:51 +02:00
committed by Thilo Graf
parent c3db7b4847
commit 69592226da

View File

@@ -106,9 +106,11 @@ int CWeatherSetup::showWeatherSetup()
ms_oservices->addItem(mf_we);
#endif
#if 0
weather_api = new CMenuOptionChooser(LOCALE_WEATHER_API_VERSION, &weather_api_version, WEATHER_API_OPTIONS, WEATHER_API_OPTION_COUNT, CApiKey::check_weather_api_key(), this);
mf_we->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_API_VERSION);
ms_oservices->addItem(weather_api);
#endif
CMenuForwarder *mf_wl = new CMenuForwarder(LOCALE_WEATHER_LOCATION, g_settings.weather_enabled, g_settings.weather_city, this, "select_location");
mf_wl->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_LOCATION);