Skip to content

Commit

Permalink
Fix excess bottom spacing between Taskbar and system navbar in deskto…
Browse files Browse the repository at this point in the history
…p mode on Android 13+
  • Loading branch information
farmerbb committed Sep 12, 2024
1 parent f475e15 commit 39d2493
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39d2493

Please sign in to comment.