From 9e8dde82302d437c19932b473b01ecdb63f422bf Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 2 Jul 2021 20:59:51 +0100 Subject: [PATCH] Fix: don't hide sidebars on friends on desktop --- src/pages/RevoltApp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/RevoltApp.tsx b/src/pages/RevoltApp.tsx index 05846604..f59844df 100644 --- a/src/pages/RevoltApp.tsx +++ b/src/pages/RevoltApp.tsx @@ -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 (