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: "", message: "",
}, },
}; };
export let isMobile = true; export let isMobile = false;
const isMobileDevice = () => { const isMobileDevice = () => {
const userAgent = navigator.userAgent || navigator.vendor || window.opera; const userAgent = navigator.userAgent || navigator.vendor || window.opera;

View File

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