浏览代码

Remove extra submenu

Rahul Shah 6 年之前
父节点
当前提交
701265f714
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      packages/terminal-extension/src/index.ts

+ 0 - 4
packages/terminal-extension/src/index.ts

@@ -185,10 +185,6 @@ function activate(
       command: CommandIDs.setTheme,
       args: { theme: 'dark', isPalette: false }
     });
-    mainMenu.settingsMenu.addGroup(
-      [{ type: 'submenu', submenu: themeMenu }],
-      2
-    );
 
     // Add some commands to the "View" menu.
     mainMenu.settingsMenu.addGroup(