VoiceWake: skip send chime when nothing to send
This commit is contained in:
@@ -137,7 +137,7 @@ actor VoicePushToTalk {
|
||||
forward = await MainActor.run { AppStateStore.shared.voiceWakeForwardConfig }
|
||||
}
|
||||
|
||||
if let chime = self.activeConfig?.sendChime, chime != .none {
|
||||
if !finalText.isEmpty, let chime = self.activeConfig?.sendChime, chime != .none {
|
||||
await MainActor.run { VoiceWakeChimePlayer.play(chime) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user