Skip to content

Commit

Permalink
Merge pull request #253 from frknkrc44/fix-25-3
Browse files Browse the repository at this point in the history
fix 25.3 bugs
  • Loading branch information
Dev4Mod authored Feb 13, 2025
2 parents 0667f7c + 12b0ba8 commit d262355
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,11 @@ public synchronized static Field loadStatusPlaybackViewField(ClassLoader loader)
ClassDataList classView = dexkit.findClass(FindClass.create().matcher(
ClassMatcher.create().methodCount(1).addFieldForType(class1)
));
if (classView.isEmpty()) classView = dexkit.findClass(FindClass.create().matcher(
ClassMatcher.create().methodCount(1, 2)
.addMethod(MethodMatcher.create().paramTypes(View.class, boolean.class, boolean.class))
.addFieldForType(class1)
));
if (classView.isEmpty()) throw new Exception("StatusPlaybackView field not found");
Class<?> clsViewStatus = classView.get(0).getInstance(loader);
Class<?> class2 = XposedHelpers.findClass("com.whatsapp.status.playback.fragment.StatusPlaybackBaseFragment", loader);
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
<item>2.24.26.xx</item>
<item>2.25.1.xx</item>
<item>2.25.2.xx</item>
<item>2.25.3.xx</item>
</string-array>
<string-array name="supported_versions_business">
<item>2.24.23.xx</item>
Expand Down

0 comments on commit d262355

Please # to comment.