Questify: Remove Patch

This commit is contained in:
thororen1234 2025-12-19 16:52:37 -05:00
parent a61e7ece75
commit bc769692dc
No known key found for this signature in database

View file

@ -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",