Empty Space in Hamburger Menu When Wallet & Brave VPN are Disabled

Description of the issue:
When Brave VPN and Wallet are disabled via policy (for both MacOS and Windows), it leaves an empty space where those icons used to be instead of collapsing that space. (I am referring to the empty space between “New Private Window” and “Sidebar”)

Steps to Reproduce (add as many as necessary): 1. 2. 3.
Disable Brave Wallet and VPN via policy and open hamburger menu.

Actual Result (gifs and screenshots are welcome!):
This is what it looks like when Brave Wallet and VPN are enabled.
image

Expected result:
The empty space where Wallet and VPN used to be is collapsed.

Reproduces how often:
Every time if Brave Wallet & VPN are disabled via policy.

Operating System and Brave Version(See the About Brave page in the main menu):
MacOS and Windows 10, Brave 1.69.162 for both.