MCPcopy Create free account
hub / github.com/deta/surf / buildMenu

Method buildMenu

app/src/main/appMenu.ts:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 public buildMenu(): void {
51 // Set initial checkbox states based on user config
52 this.updateCheckboxStates()
53 this.menu = Menu.buildFromTemplate(this.template as any)
54 Menu.setApplicationMenu(this.menu)
55 }
56
57 private updateCheckboxStates(): void {
58 const userConfig = getUserConfig()

Callers 3

updateMenuItemMethod · 0.95
setAppMenuFunction · 0.80

Calls 1

updateCheckboxStatesMethod · 0.95

Tested by

no test coverage detected