Fix Patches
This commit is contained in:
parent
093e7a58d2
commit
7cf5ac4b69
2 changed files with 3 additions and 3 deletions
|
|
@ -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),"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue