From 7dd7283ddcdb9e66a8f25e92b9eceecb10baa6db Mon Sep 17 00:00:00 2001 From: MrSluffy Date: Fri, 22 Dec 2023 11:56:30 +0800 Subject: [PATCH] Add little space when search bar is disable --- src/com/android/launcher3/DeviceProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index af574cfd61..876c8780ea 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -540,7 +540,7 @@ public class DeviceProfile { } // Have a little space between the inset and the QSB - if (isQsbEnable && mInsets.bottom + minQsbMargin > hotseatBarBottomSpace) { + if (!isQsbEnable && mInsets.bottom + minQsbMargin > hotseatBarBottomSpace) { int availableSpace = hotseatQsbSpace - (mInsets.bottom - hotseatBarBottomSpace); // Only change the spaces if there is space