Skip to content

Commit

Permalink
fix(docs): typo (#2322)
Browse files Browse the repository at this point in the history
Co-authored-by: Keen Yee Liau <[email protected]>
  • Loading branch information
kyliau and Keen Yee Liau authored Nov 25, 2024
1 parent 9ff32f0 commit e049abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trackPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export async function stop(): Promise<void> {
}

/**
* Sets wether the player will play automatically when it is ready to do so.
* Sets whether the player will play automatically when it is ready to do so.
* This is the equivalent of calling `TrackPlayer.play()` when `playWhenReady = true`
* or `TrackPlayer.pause()` when `playWhenReady = false`.
*/
Expand All @@ -323,7 +323,7 @@ export async function setPlayWhenReady(
}

/**
* Gets wether the player will play automatically when it is ready to do so.
* Gets whether the player will play automatically when it is ready to do so.
*/
export async function getPlayWhenReady(): Promise<boolean> {
return TrackPlayer.getPlayWhenReady();
Expand Down

0 comments on commit e049abb

Please sign in to comment.