fix(mobile): say cancelled when a kept recording is discarded

This commit is contained in:
Kelvin Amoaba
2026-11-09 22:36:07 +00:00
parent 3bdbb9d78d
commit fabf436e45
@@ -57,8 +57,8 @@ export function useMobileDictationAnnouncements(
cancelled.current = false
listeningSaid.current = false
}
// A refused start also goes back to idle, but its reason is said where it is reported.
if (status === 'idle' && previous !== 'idle' && previous !== 'error' && cancelled.current) {
// Only a ✕ (including Discard on a kept failure); a refused start's reason is said where it is reported.
if (status === 'idle' && previous !== 'idle' && cancelled.current) {
say(dictationAnnounceCopy.cancelled())
}
if (status === 'idle') {