mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
Fix: don't hide sidebars on friends on desktop
This commit is contained in:
parent
0f5c531694
commit
9e8dde8230
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue