diff --git a/app/src/main/java/com/kylecorry/trail_sense/tools/guide/infrastructure/Guides.kt b/app/src/main/java/com/kylecorry/trail_sense/tools/guide/infrastructure/Guides.kt index ff45cd0c8..e1783550d 100644 --- a/app/src/main/java/com/kylecorry/trail_sense/tools/guide/infrastructure/Guides.kt +++ b/app/src/main/java/com/kylecorry/trail_sense/tools/guide/infrastructure/Guides.kt @@ -53,12 +53,11 @@ object Guides { val weather = UserGuideCategory( context.getString(R.string.weather), listOfNotNull( - if (Sensors.hasBarometer(context)) - UserGuide( - context.getString(R.string.guide_weather_prediction_title), - null, - R.raw.weather - ) else null, + UserGuide( + context.getString(R.string.guide_weather_prediction_title), + null, + R.raw.weather + ), if (Sensors.hasBarometer(context)) UserGuide( context.getString(R.string.guide_barometer_calibration_title), null, diff --git a/app/src/main/res/raw/weather.md b/app/src/main/res/raw/weather.md index 6262f9387..aa24c8405 100644 --- a/app/src/main/res/raw/weather.md +++ b/app/src/main/res/raw/weather.md @@ -1,3 +1,8 @@ +## Weather prediction capabilities of Trail Sense +Trail Sense can give a rough prediction of the weather using your device's sensors. The prediction is a best guess, and may not be accurate. + +On some devices, the Weather tool may not be available. This is due to the device not having a barometer sensor, which measures air pressure. + ## Understanding pressure As a general rule, air pressure drops as a storm approaches. But pressure also changes when you change elevation, so if you're hiking in the mountains, Trail Sense's forecasts might not be as accurate.