Skip to content

Commit

Permalink
Add white noise guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Dec 11, 2023
1 parent 5b5020d commit 0833fcf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
12 changes: 12 additions & 0 deletions app/src/main/res/raw/guide_tool_white_noise.md
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 2 additions & 1 deletion site/guides.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0833fcf

Please sign in to comment.