fmidev / weather-app

FMI's official weather application for mobile devices
7 stars 2 forks source link

Unit selection #600

Closed AnttiRumpunen closed 2 months ago

AnttiRumpunen commented 3 months ago

Intl versions need ability to change used units. Parameters and units are listed below.

Temperature + Dew point: Fahrenheit / Celsius Precipitation: Millimeters / inches Wind Speed + Gusts: m/s / km/h / mph / Bft / kn Pressure: mbar / hPa / inHg / mmHg

Location of the unit selection is Other -page - Settings. Add new section Units between "Allow location" and "Language". Selection is done using a "dropdown" and selected unit shown on the right. Default settings can be set in defaultConfig and also enable/disable -setting for the whole feature.

Related old issues: https://github.com/fmidev/weather-app/issues/332 https://github.com/fmidev/weather-app/issues/347 https://github.com/fmidev/weather-app/issues/363