Questify: Remove Patch
This commit is contained in:
parent
a61e7ece75
commit
bc769692dc
1 changed files with 1 additions and 17 deletions
|
|
@ -925,7 +925,7 @@ function getQuestAcceptedButtonProps(quest: Quest, text: string, disabled: boole
|
|||
|
||||
function isIncompatibleActivity(quest: Quest): boolean {
|
||||
return !!Object.keys(quest.config.taskConfigV2?.tasks || {}).some(taskType => {
|
||||
return "ACHIEVEMENT_IN_ACTIVITY" === taskType;
|
||||
return taskType === "ACHIEVEMENT_IN_ACTIVITY";
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -1025,22 +1025,6 @@ export default definePlugin({
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// Same as above, probably? Not sure when
|
||||
// each function is used, so patching both.
|
||||
find: '"StackedActivityStatus"})',
|
||||
group: true,
|
||||
replacement: [
|
||||
{
|
||||
match: /(?=if\(\i\)return null;let \i=function)/,
|
||||
replace: "const shouldHideMembersListActivelyPlayingIcon=$self.shouldHideMembersListActivelyPlayingIcon();"
|
||||
},
|
||||
{
|
||||
match: /(?<=\i\(\),\i&&)/,
|
||||
replace: "!shouldHideMembersListActivelyPlayingIcon&&"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// Hides the Quest badge on user profiles.
|
||||
find: ".MODAL]:26",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue