mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
dc4e9cf775
22 changed files with 921 additions and 379 deletions
|
@ -24,7 +24,7 @@ export const Menu = {} as t.Menu;
|
|||
// Relies on .name properties added by the MenuItemDemanglerAPI
|
||||
waitFor(m => m.name === "MenuCheckboxItem", (_, id) => {
|
||||
// we have to do this manual require by ID because m is in this case the MenuCheckBoxItem instead of the entire module
|
||||
const module = wreq(id as any);
|
||||
const module = wreq(id);
|
||||
|
||||
for (const e of Object.values(module)) {
|
||||
if (typeof e === "function" && e.name.startsWith("Menu")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue