EquicordHelper: Remove old patch
This commit is contained in:
parent
526fbb791c
commit
61f6f4c270
1 changed files with 0 additions and 15 deletions
|
|
@ -14,12 +14,6 @@ import { PluginButtons } from "./pluginButtons";
|
|||
import { PluginCards } from "./pluginCards";
|
||||
|
||||
const settings = definePluginSettings({
|
||||
disableCreateDMButton: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Disables the create dm button",
|
||||
restartNeeded: true,
|
||||
default: false,
|
||||
},
|
||||
disableDMContextMenu: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Disables the DM list context menu in favor of the x button",
|
||||
|
|
@ -59,15 +53,6 @@ export default definePlugin({
|
|||
}
|
||||
]
|
||||
},
|
||||
// Disable Giant Create DM Button
|
||||
{
|
||||
find: ".createDMButtonContainer,",
|
||||
predicate: () => settings.store.disableCreateDMButton,
|
||||
replacement: {
|
||||
match: /"create-dm"\)/,
|
||||
replace: "$&&&false"
|
||||
},
|
||||
},
|
||||
// Remove DM Context Menu
|
||||
{
|
||||
find: "#{intl::DM_OPTIONS}",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue