Skip to content

Commit

Permalink
Update cliff height guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Nov 29, 2023
1 parent bd2411a commit f874e33
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ object Guides {
UserGuide(
context.getString(R.string.cliff_height_guide),
context.getString(R.string.experimental),
R.raw.cliff_height
R.raw.guide_tool_cliff_height
),
UserGuide(
context.getString(R.string.tool_light_meter_title),
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/kylecorry/trail_sense/tools/ui/Tools.kt
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ object Tools {
R.drawable.ic_tool_cliff_height,
R.id.action_action_experimental_tools_to_toolCliffHeightFragment,
ToolCategory.Distance,
context.getString(R.string.experimental) + " - " + context.getString(R.string.tool_cliff_height_description),
context.getString(R.string.tool_cliff_height_description),
isExperimental = true,
guideId = R.raw.cliff_height
guideId = R.raw.guide_tool_cliff_height
) else null,
Tool(
6,
Expand Down
10 changes: 0 additions & 10 deletions app/src/main/res/raw/cliff_height.md

This file was deleted.

12 changes: 12 additions & 0 deletions app/src/main/res/raw/guide_tool_cliff_height.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
The Cliff Height tool can be used to estimate the height of a cliff.

## Estimating Height

1. Ensure the area below the cliff is safe (no risk of landslide or people/animals).
2. Drop a small rock or similar object down the cliff while holding the measure button.
3. Release the button when the object hits the bottom.
4. The height of the cliff will display at the top of the screen.

## Disclaimer

You are responsible for ensuring you use this tool in a safe manner, please only use when it is safe to do so, and do not stand too close to the cliff.

0 comments on commit f874e33

Please sign in to comment.