forked from abner/for-legacy-web
Fix: don't hide sidebars on friends on desktop
parent
0f5c531694
commit
9e8dde8230
|
|
@ -36,7 +36,7 @@ export default function App() {
|
|||
const fixedBottomNav = (path === '/' || path === '/settings' || path.startsWith("/friends"));
|
||||
const inSettings = path.includes('/settings');
|
||||
const inChannel = path.includes('/channel');
|
||||
const inSpecial = path.startsWith('/invite') || path.startsWith("/friends") || path.startsWith("/settings");
|
||||
const inSpecial = (path.startsWith("/friends") && isTouchscreenDevice) || path.startsWith('/invite') || path.startsWith("/settings");
|
||||
|
||||
return (
|
||||
<OverlappingPanels
|
||||
|
|
|
|||
Loading…
Reference in New Issue