Fix Patches
This commit is contained in:
parent
2a123dcefa
commit
1392a3f6ae
2 changed files with 4 additions and 4 deletions
|
|
@ -262,14 +262,14 @@ export default definePlugin({
|
|||
settings,
|
||||
patches: [
|
||||
{
|
||||
find: "BkZhUF)}",
|
||||
find: "BkZhUF),",
|
||||
replacement: {
|
||||
match: /(?<=questId:(\i\.id).*?\.PRIMARY,)disabled:!0/,
|
||||
match: /(?<=questId:(\i\.id).*?"secondary",)disabled:!0/,
|
||||
replace: "onClick: () => $self.mobileQuestPatch($1)"
|
||||
},
|
||||
},
|
||||
{
|
||||
find: "AppTitleBar",
|
||||
find: '"BACK_FORWARD_NAVIGATION"',
|
||||
replacement: {
|
||||
match: /(?<=trailing:.{0,70}\(\i\.Fragment,{children:\[)/,
|
||||
replace: "$self.renderQuestButton(),"
|
||||
|
|
|
|||
|
|
@ -788,7 +788,7 @@ export default definePlugin({
|
|||
replacement: [
|
||||
{
|
||||
// Replace names in messages and replies.
|
||||
match: /(onContextMenu:\i,children:)(.{0,150}?),"data-text":(\i\+\i)/,
|
||||
match: /(onContextMenu:\i,children:)(.{0,250}?),"data-text":(\i\+\i)/,
|
||||
replace: "$1$self.getMessageNameElement(arguments[0])??($2),\"data-text\":$self.getMessageNameText(arguments[0])??($3)"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue