Fix: don't hide sidebars on friends on desktop

This commit is contained in:
Paul 2021-07-02 20:59:51 +01:00
parent 0f5c531694
commit 9e8dde8230

View file

@ -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