From 3baaf2a138cc4c4149a7d0c767defef4b553291c Mon Sep 17 00:00:00 2001 From: f43nd1r Date: Mon, 18 Nov 2019 15:15:39 +0100 Subject: [PATCH] move finish according to code review --- .../net/pierrox/lightning_launcher/activities/AppDrawerX.java | 4 ++++ .../net/pierrox/lightning_launcher/activities/Dashboard.java | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/AppDrawerX.java b/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/AppDrawerX.java index 53715ff..d2147ac 100644 --- a/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/AppDrawerX.java +++ b/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/AppDrawerX.java @@ -1758,6 +1758,10 @@ public class AppDrawerX extends Dashboard implements EditTextIme.OnEditTextImeLi zoomToOrigin(getCurrentRootItemLayout()); break; + case GlobalConfig.CLOSE_APP_DRAWER: + finish(); + break; + default: return super.runAction(engine, source, ea, il, itemView); } diff --git a/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/Dashboard.java b/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/Dashboard.java index 87f4300..c057182 100644 --- a/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/Dashboard.java +++ b/app/llx/app/src/main/java/net/pierrox/lightning_launcher/activities/Dashboard.java @@ -7313,10 +7313,6 @@ public class Dashboard extends ResourceWrapperActivity implements OnLongClickLis mHierarchyScreen.show(null); break; - case GlobalConfig.CLOSE_APP_DRAWER: - finish(); - break; - default: return super.runAction(engine, source, ea, il, itemView); }