diff --git a/app/src/main/java/com/kylecorry/trail_sense/tools/ui/Tools.kt b/app/src/main/java/com/kylecorry/trail_sense/tools/ui/Tools.kt index 9cea526b5..9beb9405a 100644 --- a/app/src/main/java/com/kylecorry/trail_sense/tools/ui/Tools.kt +++ b/app/src/main/java/com/kylecorry/trail_sense/tools/ui/Tools.kt @@ -282,7 +282,8 @@ object Tools { R.drawable.ic_tool_white_noise, R.id.action_action_experimental_tools_to_fragmentToolWhiteNoise, ToolCategory.Other, - context.getString(R.string.tool_white_noise_summary) + context.getString(R.string.tool_white_noise_summary), + guideId = R.raw.guide_tool_white_noise ), Tool( 30, diff --git a/app/src/main/res/raw/guide_tool_white_noise.md b/app/src/main/res/raw/guide_tool_white_noise.md new file mode 100644 index 000000000..ec2f19547 --- /dev/null +++ b/app/src/main/res/raw/guide_tool_white_noise.md @@ -0,0 +1,12 @@ +The White Noise tool can be used to help you fall asleep while camping or backpacking. + +## Usage +Tap the white noise button to toggle the white noise on and off. A notification will be displayed while the white noise is playing, and you can tap it at any time to stop the white noise. + +## Sleep Timer +You can set a sleep timer to automatically stop the white noise after a certain amount of time. To set the sleep timer, enable the sleep timer switch and enter the amount of time you want the white noise to play for. The sleep timer will start counting down as soon as you start the white noise. + +## Quick Action +The White Noise quick action is available on any tab. You can enable the quick action in the settings for the tab you want it on. + +To use the quick action, tap the White Noise quick action button to toggle it on or off. \ No newline at end of file diff --git a/site/guides.js b/site/guides.js index 5fb12a5f2..407494175 100644 --- a/site/guides.js +++ b/site/guides.js @@ -19,7 +19,8 @@ const guides = [ 'tool_temperature_estimation', 'tool_water_boil_timer', 'tool_weather', - 'tool_whistle' + 'tool_whistle', + 'tool_white_noise', ]; // Populate the guide list