diff --git a/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/launcher/Launcher.java b/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/launcher/Launcher.java index 589732bda..3f4c50f39 100644 --- a/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/launcher/Launcher.java +++ b/app/src/main/java/it/dhd/oxygencustomizer/xposed/hooks/launcher/Launcher.java @@ -125,6 +125,7 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable { findAndHookMethod(OplusPageIndicator, "onDraw", Canvas.class, new XC_MethodHook() { @Override protected void beforeHookedMethod(MethodHookParam param) throws Throwable { + if (!mRemoveHomePagination && !mRemoveFolderPagination) return; View v = (View) param.thisObject; switch (v.getParent().getClass().getCanonicalName()) { case "com.android.launcher3.OplusDragLayer":