Sergei 9422c32926 Extend speaking indicator duration to cover STT restart delay
User feedback: green speaker indicator was turning off too early,
creating an awkward visual gap during the 300ms audio focus delay.

Changes:
- Added 300ms delay to setIsSpeaking(false) in TTS onDone callback
- Keeps green "Speaking" indicator on until STT actually starts recording
- onError and onStopped still turn off immediately (user interruption)
- Smooth visual transition: TTS ends → 300ms delay → STT starts

UX improvement: eliminates the brief "nothing is happening" moment
between Julia finishing speech and microphone starting to listen.

contexts/VoiceContext.tsx:393
2026-01-28 20:05:38 -08:00
..