From 85bd84713e43e53384bbeaa19534032fcf023646 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Thu, 30 Dec 2021 19:00:41 +0000 Subject: [PATCH] fix: allow home button to be flush with background by removing border when not in server --- src/pages/RevoltApp.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/RevoltApp.tsx b/src/pages/RevoltApp.tsx index 7f5d560a..34a16a4c 100644 --- a/src/pages/RevoltApp.tsx +++ b/src/pages/RevoltApp.tsx @@ -83,6 +83,7 @@ export default function App() { const fixedBottomNav = path === "/" || path === "/settings" || path.startsWith("/friends"); const inChannel = path.includes("/channel"); + const inServer = path.includes("/server"); const inSpecial = (path.startsWith("/friends") && isTouchscreenDevice) || path.startsWith("/invite") || @@ -123,7 +124,8 @@ export default function App() { docked={isTouchscreenDevice ? Docked.None : Docked.Left}>