From 39d2493f256f123b6f768557ad5dd0baeed7f4cd Mon Sep 17 00:00:00 2001 From: Braden Farmer Date: Wed, 11 Sep 2024 22:40:21 -0600 Subject: [PATCH] Fix excess bottom spacing between Taskbar and system navbar in desktop mode on Android 13+ --- app/src/main/java/com/farmerbb/taskbar/ui/UIController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/farmerbb/taskbar/ui/UIController.java b/app/src/main/java/com/farmerbb/taskbar/ui/UIController.java index 8282fbce..bf96ca48 100644 --- a/app/src/main/java/com/farmerbb/taskbar/ui/UIController.java +++ b/app/src/main/java/com/farmerbb/taskbar/ui/UIController.java @@ -66,6 +66,7 @@ protected void init(Context context, UIHost host, Runnable runnable) { protected int getBottomMargin(Context context) { return U.getDisplayInfo(context).displayDefaultsToFreeform + && U.getCurrentApiVersion() < 33.0f && !U.isChromeOs(context) && !U.isShowHideNavbarSupported() && TaskbarPosition.isBottom(context) ? U.getNavbarHeight(context) : -1;