Skip to content

Commit c512344

Browse files
committed
Comment de-slop
1 parent 55c84c5 commit c512344

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/core/webview/webviewMessageHandler.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -950,14 +950,12 @@ export const webviewMessageHandler = async (
950950
await provider.postStateToWebview()
951951
break
952952
case "remoteControlEnabled":
953-
// Update cloud settings instead of local globalState
954953
try {
955954
await CloudService.instance.updateUserSettings({
956955
extensionBridgeEnabled: message.bool ?? false,
957956
})
958957
} catch (error) {
959958
provider.log(`Failed to update cloud settings for remote control: ${error}`)
960-
// Don't fall back to local storage - cloud settings are the source of truth
961959
}
962960
await provider.remoteControlEnabled(message.bool ?? false)
963961
await provider.postStateToWebview()

src/extension.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,7 @@ export async function activate(context: vscode.ExtensionContext) {
129129
const postStateListener = () => ClineProvider.getVisibleInstance()?.postStateToWebview()
130130
authStateChangedHandler = postStateListener
131131

132-
// Enhanced settings updated handler that also updates BridgeOrchestrator
133132
settingsUpdatedHandler = async () => {
134-
// Update BridgeOrchestrator when settings change
135133
const userInfo = CloudService.instance.getUserInfo()
136134
if (userInfo && CloudService.instance.cloudAPI) {
137135
try {

0 commit comments

Comments
 (0)