Skip to content

Commit 8b8feef

Browse files
committed
Fix bug in FilterView
Signed-off-by: Dev4Mod <[email protected]>
1 parent 8f1c4c7 commit 8b8feef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/core/devkit/Unobfuscator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,8 @@ public synchronized static Method getFilterInitMethod(ClassLoader loader) throws
14561456

14571457
public synchronized static Class getFilterView(ClassLoader loader) throws Exception {
14581458
return UnobfuscatorCache.getInstance().getClass(loader, () -> {
1459-
var results = dexkit.findClass(new FindClass().matcher(new ClassMatcher().addMethod(new MethodMatcher().name("setInboxFilterHelper"))));
1459+
var filter_id = Utils.getID("conversations_swipe_to_reveal_filters_stub", "id");
1460+
var results = dexkit.findClass(FindClass.create().matcher(ClassMatcher.create().addMethod(MethodMatcher.create().addUsingNumber(filter_id))));
14601461
if (results.isEmpty()) throw new RuntimeException("FilterView class not found");
14611462
return results.get(0).getInstance(loader);
14621463
});

0 commit comments

Comments
 (0)