@@ -41,7 +41,7 @@ object Hooks {
4141 * - Profile ID
4242 * - Last seen (exact date and time)
4343 */
44- fun addExtraProfileFields () {
44+ fun addExtraProfileFields_DISABLED () {
4545 val class_ProfileFieldsView = findClass(
4646 GApp .ui.profileV2.ProfileFieldsView ,
4747 Hooker .pkgParam.classLoader
@@ -53,7 +53,7 @@ object Hooks {
5353 )
5454
5555 val class_ExtendedProfileFieldView = findClass(
56- GApp .view.ExtendedProfileFieldView ,
56+ null , // GApp.view.ExtendedProfileFieldView,
5757 Hooker .pkgParam.classLoader
5858 )
5959
@@ -64,7 +64,7 @@ object Hooks {
6464
6565 findAndHookMethod(
6666 class_ProfileFieldsView,
67- GApp .ui.profileV2.ProfileFieldsView_ .setProfile,
67+ null , // GApp.ui.profileV2.ProfileFieldsView_.setProfile,
6868 class_Profile,
6969 object : XC_MethodHook () {
7070 var fieldsViewInstance: Any? = null
@@ -88,7 +88,7 @@ object Hooks {
8888
8989 val valueColorId = getStaticIntField(
9090 class_R_color,
91- GApp .R .color_.grindr_pure_white
91+ null , // GApp.R.color_.grindr_pure_white
9292 ) // R.color.grindr_pure_white
9393
9494 override fun afterHookedMethod (param : MethodHookParam ) {
@@ -131,14 +131,14 @@ object Hooks {
131131
132132 callMethod(
133133 extendedProfileFieldView,
134- GApp .view.ExtendedProfileFieldView_ .setLabel,
134+ null , // GApp.view.ExtendedProfileFieldView_.setLabel,
135135 label,
136136 labelColorRgb
137137 )
138138
139139 callMethod(
140140 extendedProfileFieldView,
141- GApp .view.ExtendedProfileFieldView_ .setValue,
141+ null , // GApp.view.ExtendedProfileFieldView_.setValue,
142142 value,
143143 valueColorId
144144 )
0 commit comments