Skip to content

Commit

Permalink
Update Code to 1.97.2 (#7205)
Browse files Browse the repository at this point in the history
  • Loading branch information
benz0li authored Feb 14, 2025
1 parent 3172cb1 commit 34b8d2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion patches/external-file-actions.diff
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ Index: code-server/lib/vscode/src/vs/workbench/services/dialogs/browser/simpleFi
@@ -284,20 +284,22 @@ export class SimpleFileDialog extends Di
this.filePickBox.ignoreFocusOut = true;
this.filePickBox.ok = true;
this.filePickBox.okLabel = this.options.openLabel;
this.filePickBox.okLabel = typeof this.options.openLabel === 'string' ? this.options.openLabel : this.options.openLabel?.withoutMnemonic;
- if ((this.scheme !== Schemas.file) && this.options && this.options.availableFileSystems && (this.options.availableFileSystems.length > 1) && (this.options.availableFileSystems.indexOf(Schemas.file) > -1)) {
- this.filePickBox.customButton = true;
- this.filePickBox.customLabel = nls.localize('remoteFileDialog.local', 'Show Local');
Expand Down

0 comments on commit 34b8d2e

Please sign in to comment.