desktop nav change

This commit is contained in:
PhilReact 2024-10-25 12:38:47 +03:00
parent 16222b845a
commit cc0e53b3bd
2 changed files with 5 additions and 2 deletions

View File

@ -149,7 +149,7 @@ const defaultValues: MyContextInterface = {
message: "",
},
};
export let isMobile = true;
export let isMobile = false;
const isMobileDevice = () => {
const userAgent = navigator.userAgent || navigator.vendor || window.opera;

View File

@ -181,7 +181,8 @@ export const AppsNavBarDesktop = () => {
))}
</Tabs>
</AppsNavBarLeft>
<AppsNavBarRight
{selectedTab && (
<AppsNavBarRight
sx={{
gap: "10px",
flexDirection: "column",
@ -216,6 +217,8 @@ export const AppsNavBarDesktop = () => {
/>
</ButtonBase>
</AppsNavBarRight>
)}
<Menu
id="navbar-more-mobile"
anchorEl={anchorEl}