Voice wake: log overlay lifecycle and enforce PTT cooldown

This commit is contained in:
Peter Steinberger
2025-12-09 03:20:52 +01:00
parent 912a53318e
commit 3a42979e53
4 changed files with 20 additions and 16 deletions

View File

@@ -156,11 +156,8 @@ actor VoicePushToTalk {
self.triggerChimePlayed = false
// Resume the wake-word runtime after push-to-talk finishes.
_ = await MainActor.run {
Task {
await VoiceWakeRuntime.shared.refresh(state: AppStateStore.shared)
}
}
await VoiceWakeRuntime.shared.applyPushToTalkCooldown()
_ = await MainActor.run { Task { await VoiceWakeRuntime.shared.refresh(state: AppStateStore.shared) } }
}
// MARK: - Private