mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 18:15:28 +00:00
Fix: don't hide sidebars on friends on desktop
This commit is contained in:
@@ -36,7 +36,7 @@ export default function App() {
|
|||||||
const fixedBottomNav = (path === '/' || path === '/settings' || path.startsWith("/friends"));
|
const fixedBottomNav = (path === '/' || path === '/settings' || path.startsWith("/friends"));
|
||||||
const inSettings = path.includes('/settings');
|
const inSettings = path.includes('/settings');
|
||||||
const inChannel = path.includes('/channel');
|
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 (
|
return (
|
||||||
<OverlappingPanels
|
<OverlappingPanels
|
||||||
|
|||||||
Reference in New Issue
Block a user