From 52bc2a705ad5e21af2b3a16d413de60842c13b0c Mon Sep 17 00:00:00 2001 From: R0rt1z2 Date: Mon, 23 Dec 2024 03:07:25 +0100 Subject: [PATCH] GrindrPlus: Fix profile tag cascade --- app/src/main/java/com/grindrplus/hooks/UnlimitedProfiles.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/com/grindrplus/hooks/UnlimitedProfiles.kt b/app/src/main/java/com/grindrplus/hooks/UnlimitedProfiles.kt index 9910d20..0ad8a1d 100644 --- a/app/src/main/java/com/grindrplus/hooks/UnlimitedProfiles.kt +++ b/app/src/main/java/com/grindrplus/hooks/UnlimitedProfiles.kt @@ -16,6 +16,7 @@ class UnlimitedProfiles : Hook( "com.grindrapp.android.persistence.model.serverdrivencascade.ServerDrivenCascadeCacheState" private val serverDrivenCascadeCachedProfile = "com.grindrapp.android.persistence.model.serverdrivencascade.ServerDrivenCascadeCachedProfile" + private val profileTagCascadeFragment = "com.grindrapp.android.ui.tagsearch.ProfileTagCascadeFragment" override fun init() { findClass(serverDrivenCascadeCachedState) @@ -27,6 +28,11 @@ class UnlimitedProfiles : Hook( param.setResult(items) } + findClass(profileTagCascadeFragment) + .hook("L", HookStage.BEFORE) { param -> + param.setResult(true) + } + findClass(serverDrivenCascadeCachedProfile) .hook("getUpsellType", HookStage.BEFORE) { param -> param.setResult(null)