Fix issue where sound effects setting wasn't working (#51)

This commit is contained in:
Matt Rubens
2024-12-07 22:54:38 -05:00
committed by GitHub
parent e180205327
commit c78216af30
6 changed files with 34 additions and 4 deletions

View File

@@ -539,6 +539,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
case "soundEnabled":
const soundEnabled = message.bool ?? true
await this.updateGlobalState("soundEnabled", soundEnabled)
setSoundEnabled(soundEnabled) // Add this line to update the sound utility
await this.postStateToWebview()
break
case "diffEnabled":