1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-05 21:11:39 +09:00

Update KeepUnread.java

This commit is contained in:
Syuugo 2024-10-27 22:16:31 +09:00 committed by GitHub
parent d98dd632b7
commit 3ddc825258
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,6 @@ import de.robv.android.xposed.callbacks.XC_LoadPackage;
import io.github.chipppppppppp.lime.LimeOptions;
import io.github.chipppppppppp.lime.R;
public class KeepUnread implements IHook {
@Override
@ -59,6 +58,7 @@ public class KeepUnread implements IHook {
((ListView) viewGroup.getChildAt(0)).addFooterView(layout);
}
});
XposedHelpers.findAndHookMethod(
loadPackageParam.classLoader.loadClass(Constants.MARK_AS_READ_HOOK.className),
Constants.MARK_AS_READ_HOOK.methodName,
@ -66,7 +66,6 @@ public class KeepUnread implements IHook {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
param.setResult(null);
}
}
);