From 6418b73004bed071f32deba6779c621563c5733e Mon Sep 17 00:00:00 2001 From: Yash-Garg Date: Mon, 19 Sep 2022 15:08:37 +0530 Subject: [PATCH] end giggle mode when user taps outside in free space (background) Signed-off-by: Yash-Garg --- .../e/blisslauncher/features/launcher/LauncherActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java index 1f8daf1d93..6eaeb6a0fa 100755 --- a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java @@ -1363,6 +1363,12 @@ public class LauncherActivity extends AppCompatActivity implements grid.setPadding(mDeviceProfile.iconDrawablePaddingPx / 2, (int) (Utilities.pxFromDp(8, this)), mDeviceProfile.iconDrawablePaddingPx / 2, 0); + + // If a user taps outside (background / space) stop wobbling + grid.setOnClickListener(view -> { + handleWobbling(false); + }); + return grid; } -- GitLab