diff --git a/phone/src/os/sound/hooks/useSound.ts b/phone/src/os/sound/hooks/useSound.ts index fc55698..742c55d 100644 --- a/phone/src/os/sound/hooks/useSound.ts +++ b/phone/src/os/sound/hooks/useSound.ts @@ -68,10 +68,12 @@ const useSound = (url: string, options: ISoundOptions = DEFAULT_OPTIONS) => { useEffect(() => { if (interrupt) { stop(url); + setPlaying(false); return; } if (!playing(url) && previousInterrupt) { play(); + setPlaying(true); } }, [interrupt, play, playing, previousInterrupt, stop, url]);