mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
fix soundEnabled init bug
This commit is contained in:
@@ -136,6 +136,11 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||||||
this.outputChannel.appendLine("Resolving webview view")
|
this.outputChannel.appendLine("Resolving webview view")
|
||||||
this.view = webviewView
|
this.view = webviewView
|
||||||
|
|
||||||
|
// Initialize sound enabled state
|
||||||
|
this.getState().then(({ soundEnabled }) => {
|
||||||
|
setSoundEnabled(soundEnabled ?? false)
|
||||||
|
})
|
||||||
|
|
||||||
webviewView.webview.options = {
|
webviewView.webview.options = {
|
||||||
// Allow scripts in the webview
|
// Allow scripts in the webview
|
||||||
enableScripts: true,
|
enableScripts: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user