mirror of
https://github.com/areteruhiro/LIME-beta-hiro.git
synced 2025-02-10 23:41:38 +09:00
space
This commit is contained in:
parent
fe2e8021f8
commit
691a95a41e
@ -30,10 +30,8 @@ public class KeepUnread implements IHook {
|
|||||||
if (limeOptions.removeKeepUnread.checked) return;
|
if (limeOptions.removeKeepUnread.checked) return;
|
||||||
|
|
||||||
XposedBridge.hookAllConstructors(
|
XposedBridge.hookAllConstructors(
|
||||||
|
|
||||||
loadPackageParam.classLoader.loadClass("jp.naver.line.android.common.view.listview.PopupListView"),
|
loadPackageParam.classLoader.loadClass("jp.naver.line.android.common.view.listview.PopupListView"),
|
||||||
new XC_MethodHook() {
|
new XC_MethodHook() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
|
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
|
||||||
ViewGroup viewGroup = (ViewGroup) param.thisObject;
|
ViewGroup viewGroup = (ViewGroup) param.thisObject;
|
||||||
@ -54,7 +52,6 @@ public class KeepUnread implements IHook {
|
|||||||
background.setShape(GradientDrawable.RECTANGLE);
|
background.setShape(GradientDrawable.RECTANGLE);
|
||||||
background.setColor(Color.parseColor("#06C755"));
|
background.setColor(Color.parseColor("#06C755"));
|
||||||
background.setCornerRadii(new float[]{100, 100, 80, 30, 100, 100, 80, 30});
|
background.setCornerRadii(new float[]{100, 100, 80, 30, 100, 100, 80, 30});
|
||||||
|
|
||||||
container.setBackground(background);
|
container.setBackground(background);
|
||||||
|
|
||||||
TextView label = new TextView(context);
|
TextView label = new TextView(context);
|
||||||
@ -120,8 +117,4 @@ public class KeepUnread implements IHook {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user