Skip to content

Commit

Permalink
Add function to Disable Status Auto Skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev4Mod committed Jun 13, 2024
1 parent 69906ab commit e8a40e7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
if (!Unobfuscator.isCalledFromClass(AsyncTask.class)
&& !Unobfuscator.isCalledFromClass(View.class) && prefs.getBoolean("autonext_status", false)
) {
&& !ReflectionUtils.isCalledFromString("onClick") &&
prefs.getBoolean("autonext_status", false)) {
param.setResult(null);
return;
}
Expand Down

0 comments on commit e8a40e7

Please sign in to comment.