Commit 267b25f
authored
macOS menu bar access (add/delete menu items) (#5)
* initial native part for accessing menu items
* initial spec
* add useMenuItem
* refactor to aware of entire menu structure
* add config for remove item
* add separator, delete position in the config
* update comments
* add useMenuItem usage
* cleanup
* use same separator tag and string to simplify
* colocate native source code
* add wildcard remove
* set initial menu items
* remove top level menu when unmounting1 parent 8de5c1b commit 267b25f
File tree
6 files changed
+846
-19
lines changed- app
- native/IRMenuItemManager
- utils
- macos/Reactotron.xcodeproj
6 files changed
+846
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments