From d1dcc5c071dd613182c66746baef96e9e86ff142 Mon Sep 17 00:00:00 2001
From: Kalle <38327916+Sendouc@users.noreply.github.com>
Date: Tue, 24 Mar 2026 20:52:49 +0200
Subject: [PATCH] Show 8 friends on mobile instead of 4
---
app/components/layout/index.tsx | 6 +++++-
app/features/sidebar/core/sidebar.server.ts | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/app/components/layout/index.tsx b/app/components/layout/index.tsx
index 7f48d0245..46fe2480e 100644
--- a/app/components/layout/index.tsx
+++ b/app/components/layout/index.tsx
@@ -52,6 +52,8 @@ import notificationPopoverStyles from "./NotificationPopover.module.css";
import { TopNavMenus } from "./TopNavMenus";
import { TopRightButtons } from "./TopRightButtons";
+const MAX_DESKTOP_FRIENDS = 4;
+
function useTimeFormat() {
const { i18n } = useTranslation();
@@ -310,7 +312,9 @@ export function Layout({
{t("front:sideNav.friends")}
{friends.length > 0 ? (
- friends.map((friend) =>