mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Skip button layout spacing call when kids nav bar is active.
Fix: 240530037 Test: manual. Change-Id: Ibf777dfdaab3c81da8feed581a0297f09a62539d
This commit is contained in:
@@ -676,9 +676,11 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
|
||||
updateButtonLayoutSpacing();
|
||||
}
|
||||
|
||||
/** Adds the correct spacing to 3 button nav container. No-op if using gesture nav */
|
||||
/**
|
||||
* Adds the correct spacing to 3 button nav container. No-op if using gesture nav or kids mode.
|
||||
*/
|
||||
private void updateButtonLayoutSpacing() {
|
||||
if (!mContext.isThreeButtonNav()) {
|
||||
if (!mContext.isThreeButtonNav() || mContext.isNavBarKidsModeActive()) {
|
||||
return;
|
||||
}
|
||||
DeviceProfile dp = mContext.getDeviceProfile();
|
||||
|
||||
Reference in New Issue
Block a user