From 7fa9a5224e2ae09e5a532d50d14276d53a212785 Mon Sep 17 00:00:00 2001 From: ElJaviLuki Date: Mon, 2 Jan 2023 03:14:15 +0100 Subject: [PATCH] Remove unused code --- app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt b/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt index 0808ca05..645fde86 100644 --- a/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt +++ b/app/src/main/java/com/eljaviluki/grindrplus/Hooks.kt @@ -512,11 +512,6 @@ object Hooks { Hooker.pkgParam.classLoader ) - val class_Toast = findClass( - "android.widget.Toast", - Hooker.pkgParam.classLoader - ) - findAndHookMethod(class_BlockByHelper, GApp.persistence.cache.BlockByHelper_.addBlockByProfile, String::class.java, object : XC_MethodHook(){ override fun beforeHookedMethod(param: MethodHookParam?) { val profileId: String = param!!.args[0] as String