diff --git a/src/equicordplugins/betterForwards/components.tsx b/src/equicordplugins/betterForwards/components.tsx index fec085475..827e218c1 100644 --- a/src/equicordplugins/betterForwards/components.tsx +++ b/src/equicordplugins/betterForwards/components.tsx @@ -18,7 +18,7 @@ import { cl, ForwardOptionsContext, ForwardOptionsState } from "."; type AttachmentType = "IMAGE" | "VIDEO" | "CLIP" | "AUDIO" | "VISUAL_PLACEHOLDER" | "PLAINTEXT_PREVIEW" | "OTHER" | "INVALID"; -const TagGroup = findComponentByCodeLazy('"filter-tag-group"', '"tag-group"'); +const TagGroup = findComponentByCodeLazy('="default",layout:', '="inline"==='); const ServerProfileComponent = findComponentByCodeLazy("{guildProfile:", "GUILD_PROFILE"); const getAttachmentType = findByCodeLazy('"PLAINTEXT_PREVIEW":"OTHER"'); const formatChannelName = findByCodeLazy("#{intl::NO_ACCESS}", "isObfuscated()"); diff --git a/src/equicordplugins/betterForwards/index.tsx b/src/equicordplugins/betterForwards/index.tsx index 2b1469158..735185bcc 100644 --- a/src/equicordplugins/betterForwards/index.tsx +++ b/src/equicordplugins/betterForwards/index.tsx @@ -123,7 +123,7 @@ export default definePlugin({ replace: "$self.renderWrapper(__state,$&)" }, { - match: /(?<=#{intl::CHECKPOINT_2025}.{50,100}?)\i>0&&\(.{200,250}?\}\)\]\}\)/, + match: /(?<=compact:\i\}\),)\i>0&&\(.{200,250}?\}\)\]\}\)/, replace: "$self.ForwardPicker()" }, { diff --git a/src/equicordplugins/declutter/index.tsx b/src/equicordplugins/declutter/index.tsx index c26bd8570..9a6f8db12 100644 --- a/src/equicordplugins/declutter/index.tsx +++ b/src/equicordplugins/declutter/index.tsx @@ -234,7 +234,7 @@ export default definePlugin({ // Nameplate find: ".MINI_PREVIEW,[", replacement: { - match: /function \i\((\i)\)\{(?=let.{1,5}\{nameplate:\i,)/, + match: /function \i\((\i)\)\{(?=let.{0,5}\{nameplate:\i,)/, replace: '$&if($1.placement!=="preview"&&$1.placement!=="mini_preview")return null;', }, diff --git a/src/equicordplugins/questify/components/shared.tsx b/src/equicordplugins/questify/components/shared.tsx index 58b0afe94..d86857fdf 100644 --- a/src/equicordplugins/questify/components/shared.tsx +++ b/src/equicordplugins/questify/components/shared.tsx @@ -268,7 +268,7 @@ interface SettingsSwitchLayoutProps extends SwitchWithLabelProps { tooltip?: { position: "top" | "bottom", text: string; }; } -const SwitchWithLabel = findComponentByCodeLazy('auxiliaryContentPosition:"under-label"') as React.ComponentType; +const SwitchWithLabel = findComponentByCodeLazy("switchIconsEnabled:", ".hasIcon?") as React.ComponentType; export type SettingsSubtleSwitchProps = Omit;