Skip to content

Commit

Permalink
update to match upstream API change
Browse files Browse the repository at this point in the history
upstream PR: eclipse-theia/theia#10044

Signed-off-by: Marc Dumais <[email protected]>
  • Loading branch information
marcdumais-work committed Nov 2, 2021
1 parent 6ae23fa commit 08e95e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class ElectronMenuUpdater {
this.setMenu();
}

private setMenu(menu: Menu | null = this.factory.createMenuBar(), electronWindow: BrowserWindow = remote.getCurrentWindow()): void {
private setMenu(menu: Menu | null = this.factory.createElectronMenuBar(), electronWindow: BrowserWindow = remote.getCurrentWindow()): void {
if (isOSX) {
remote.Menu.setApplicationMenu(menu);
} else {
Expand Down

0 comments on commit 08e95e0

Please sign in to comment.