Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 6418b730 authored by Yash Garg's avatar Yash Garg 💬
Browse files

end giggle mode when user taps outside in free space (background)



Signed-off-by: default avatarYash-Garg <yashgarg@murena.io>
parent 801e0e55
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;
    }