PinDMS: Update Patch

This commit is contained in:
thororen1234 2025-09-10 00:40:54 -04:00
parent 7a608bc193
commit e48db049c8
No known key found for this signature in database

View file

@ -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