Add little space when search bar is disable

This commit is contained in:
MrSluffy
2023-12-22 11:56:30 +08:00
parent b81d80f5b0
commit 7dd7283ddc
+1 -1
View File
@@ -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