From 7427447b65989bbae4caacfa6feab5c9fbce1e52 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 4 Dec 2025 19:21:12 -0500 Subject: [PATCH] Quoter: Push to the end on contextmenu --- src/equicordplugins/quoter/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/equicordplugins/quoter/index.tsx b/src/equicordplugins/quoter/index.tsx index dd8d0eef7..153bdb4af 100644 --- a/src/equicordplugins/quoter/index.tsx +++ b/src/equicordplugins/quoter/index.tsx @@ -4,7 +4,6 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -import { findGroupChildrenByChildId } from "@api/ContextMenu"; import { definePluginSettings } from "@api/Settings"; import { BaseText } from "@components/BaseText"; import { FormSwitch } from "@components/FormSwitch"; @@ -84,9 +83,7 @@ export default definePlugin({ /> ); - const group = findGroupChildrenByChildId("copy-text", children); - if (!group) children.push(buttonElement); - else group.splice(group.findIndex(c => c?.props?.id === "copy-text") + 1, 0, buttonElement); + children.push(buttonElement); } } });