From 8de83f8ebb7f8e438e5de888200dc3bb313f1b35 Mon Sep 17 00:00:00 2001 From: gnacho Date: Sun, 4 Oct 2026 09:43:29 +0200 Subject: [PATCH] feat: move Settings to mobile header and remove header theme toggle (#285) --- app/src/components/Layout.tsx | 60 ++++++++--------------------------- 1 file changed, 14 insertions(+), 46 deletions(-) diff --git a/app/src/components/Layout.tsx b/app/src/components/Layout.tsx index 70c3109..868b082 100644 --- a/app/src/components/Layout.tsx +++ b/app/src/components/Layout.tsx @@ -68,7 +68,6 @@ const BOTTOM_NAV_ORDER = [ '/decisions', '/summary', '/routines', - '/settings', ]; function isActivePath(pathname: string, to: string): boolean { @@ -118,40 +117,6 @@ function ThemeTogglePill() { ); } -function ThemeToggleButton({ mobile }: { mobile?: boolean }) { - const { t } = useTranslation(); - const { dark, toggle } = useTheme(); - const label = dark ? t('settings.themeToLight') : t('settings.themeToDark'); - const icon = dark ? ( -