Skip to content

Commit 78d7b16

Browse files
authored
About dialog doesn't get custom dialog style (fix microsoft#174914) (microsoft#174948)
1 parent 3e00dca commit 78d7b16

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/vs/workbench/electron-sandbox/parts/dialogs/dialog.contribution.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ export class DialogHandlerContribution extends Disposable implements IWorkbenchC
8585

8686
// About
8787
else {
88-
await this.nativeImpl.about();
88+
if (this.useCustomDialog) {
89+
await this.browserImpl.about();
90+
} else {
91+
await this.nativeImpl.about();
92+
}
8993
}
9094

9195
this.currentDialog.close(result);

0 commit comments

Comments
 (0)