1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-05 21:11:39 +09:00
This commit is contained in:
Syuugo 2024-10-09 04:40:39 +09:00 committed by GitHub
parent fe2e8021f8
commit 691a95a41e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,10 +30,8 @@ public class KeepUnread implements IHook {
if (limeOptions.removeKeepUnread.checked) return;
XposedBridge.hookAllConstructors(
loadPackageParam.classLoader.loadClass("jp.naver.line.android.common.view.listview.PopupListView"),
new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
ViewGroup viewGroup = (ViewGroup) param.thisObject;
@ -54,7 +52,6 @@ public class KeepUnread implements IHook {
background.setShape(GradientDrawable.RECTANGLE);
background.setColor(Color.parseColor("#06C755"));
background.setCornerRadii(new float[]{100, 100, 80, 30, 100, 100, 80, 30});
container.setBackground(background);
TextView label = new TextView(context);
@ -120,8 +117,4 @@ public class KeepUnread implements IHook {
return false;
}
}
}