mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
Also add Emote Cloner to Emote picker rightclick menu (#664)
This commit is contained in:
parent
082ac62eda
commit
8d8cedd72c
2 changed files with 56 additions and 51 deletions
|
@ -122,6 +122,8 @@ export function _patchContextMenu(props: ContextMenuProps) {
|
|||
props.contextMenuApiArguments ??= [];
|
||||
const contextMenuPatches = navPatches.get(props.navId);
|
||||
|
||||
if (!Array.isArray(props.children)) props.children = [props.children];
|
||||
|
||||
if (contextMenuPatches) {
|
||||
for (const patch of contextMenuPatches) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue