mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
fix(mobile): say cancelled when a kept recording is discarded
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user