Fix Patches

This commit is contained in:
thororen1234 2025-09-04 14:27:32 -04:00
parent 093e7a58d2
commit 7cf5ac4b69
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -152,9 +152,9 @@ export default definePlugin({
patches: [
{
find: '"M9 3v18"',
find: '"TITLEBAR_FAST_TRAVEL"',
replacement: {
match: /focusSectionProps:"HELP".{0,20},className:(\i\.button)\}\),/,
match: /focusSectionProps:"HELP".{0,20},className:(\i)\}\),/,
replace: "$& $self.renderVencordPopoutButton($1),"
}
}

View file

@ -68,7 +68,7 @@ export default definePlugin({
},
// Change top right chat toolbar button from the help one to the dev one
{
find: '"M9 3v18"',
find: '"TITLEBAR_FAST_TRAVEL"',
replacement: {
match: /hasBugReporterAccess:(\i)/,
replace: "_hasBugReporterAccess:$1=true"