From 19ef38a377154cba5700dd5bf8ebad4f8f7b43df Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 7 Nov 2026 10:05:23 +0100 Subject: [PATCH] fix(demo): the phone welcome scales with the text size and is paired with the desktop one MDemoWelcome used raw rem sizes, which ignore the text size setting and broke theme:lint, and was missing from feature-pairs.json, which broke lint:pairs. --- client/scripts/feature-pairs.json | 6 ++++++ .../src/mobile/screens/dashboard/MDemoWelcome.tsx | 14 +++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/client/scripts/feature-pairs.json b/client/scripts/feature-pairs.json index bd82a8255..0c54f2796 100644 --- a/client/scripts/feature-pairs.json +++ b/client/scripts/feature-pairs.json @@ -669,6 +669,12 @@ "desktop": ["src/components/Roadtrip/RoadtripStayModal.tsx"], "mobile": ["src/mobile/screens/trip/roadtrip/MRtStaySheet.tsx"] }, + { + "feature": "Demo welcome", + "hooks": ["src/components/Demo/useDemoWelcome.ts"], + "desktop": ["src/components/Demo/DemoWelcome.tsx"], + "mobile": ["src/mobile/screens/dashboard/MDemoWelcome.tsx"] + }, { "feature": "Settings / Demo account locks", "hooks": ["src/components/Demo/useDemoLock.ts"], diff --git a/client/src/mobile/screens/dashboard/MDemoWelcome.tsx b/client/src/mobile/screens/dashboard/MDemoWelcome.tsx index 42e0cd303..150540aa5 100644 --- a/client/src/mobile/screens/dashboard/MDemoWelcome.tsx +++ b/client/src/mobile/screens/dashboard/MDemoWelcome.tsx @@ -25,7 +25,7 @@ function Lines({ lines, accent, t }: { lines: readonly DemoLine[]; accent?: bool return (