From e48db049c866448804e22da74884b8be7c7c156f Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 10 Sep 2025 00:40:54 -0400 Subject: [PATCH] PinDMS: Update Patch --- src/plugins/pinDms/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/pinDms/index.tsx b/src/plugins/pinDms/index.tsx index bf4f5252c..0cba4e332 100644 --- a/src/plugins/pinDms/index.tsx +++ b/src/plugins/pinDms/index.tsx @@ -64,7 +64,7 @@ export const settings = definePluginSettings({ }, disableCreateDMButton: { type: OptionType.BOOLEAN, - description: "Disabled the create dm button", + description: "Disables the create dm button", default: true } }); @@ -160,9 +160,9 @@ export default definePlugin({ } }, { - find: ".createDMButtonContainer", + find: ".createDMButtonContainer,", replacement: { - match: /"full-width"===\i/, + match: /"create-dm"\)/, replace: "$&&&false" }, predicate: () => settings.store.disableCreateDMButton