Merge branch 'weather-precip-percent' (#1765)

* weather-precip-percent:
  weather: fix precipitation display

Signed-off-by: Jared Tobin <jared@tlon.io>
This commit is contained in:
Jared Tobin 2019-09-27 17:12:38 +04:00
commit cd3d24117c
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -178,7 +178,7 @@ export default class WeatherTile extends Component {
text={c.windBearing + '°'} />
<IconWithData
icon='chancerain'
text={c.precipProbability + '%'} />
text={(c.precipProbability * 100) + '%'} />
<IconWithData
icon='windspeed'
text={Math.round(c.windSpeed) + ' mph'} />