Fix Patches
This commit is contained in:
parent
43f9481732
commit
560f7f4a0f
3 changed files with 3 additions and 3 deletions
|
|
@ -233,7 +233,7 @@ export default definePlugin({
|
|||
settings,
|
||||
patches: [
|
||||
{
|
||||
find: "BkZhUF),",
|
||||
find: ".platformSelectorPrimary,",
|
||||
replacement: {
|
||||
match: /(?<=questId:(\i\.id).*?"secondary",)disabled:!0/,
|
||||
replace: "onClick: () => $self.mobileQuestPatch($1)"
|
||||
|
|
|
|||
|
|
@ -1205,7 +1205,7 @@ export default definePlugin({
|
|||
// The "Quest Accepted" text is changed to "Resume" if the Quest is in progress but not active.
|
||||
// Then, when the Quest Accepted button is clicked, resume the automatic completion of the
|
||||
// Quest and disable the button again.
|
||||
match: /(?<=fullWidth:!0}\)}\):.{0,200}?secondary",)disabled:!0,text:(.{0,30}?\["9KoPyM"\]\)),/,
|
||||
match: /(?<=fullWidth:!0}\)}\):.{0,200}?secondary",)disabled:!0,text:(.{0,30}?#{intl::QUEST_ACCEPTED}\)),/,
|
||||
replace: "...$self.getQuestAcceptedButtonProps(arguments[0].quest,$1),"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ export default definePlugin({
|
|||
{
|
||||
find: '"CustomStatusModalWithPreview"',
|
||||
replacement: {
|
||||
match: /(?<=(\i)\.state\).*?)\{text:\i\.\i\.\i\(\i\.\i\.R3BPHx\)/,
|
||||
match: /(?<=(\i)\.state\).*?)\{text:\i\.\i\.\i\(\i\.\i#{intl::SAVE}\)/,
|
||||
replace: "$self.renderRememberButton($1),$&"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue