From 0d58e5b84df678fcc0ea05e094480a1d170bdbee Mon Sep 17 00:00:00 2001 From: Damiano Plebani Date: Fri, 29 Nov 2024 11:59:22 +0100 Subject: [PATCH] =?UTF-8?q?Enable=20scaled=20chevron=20in=20the=20`ListIte?= =?UTF-8?q?m=E2=80=A6`=20components?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/listitems/ListItemNav.tsx | 1 + src/components/listitems/ListItemNavAlert.tsx | 1 + src/components/listitems/ListItemTransaction.tsx | 1 + src/utils/accessibility.ts | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/listitems/ListItemNav.tsx b/src/components/listitems/ListItemNav.tsx index bcb93add..3360091f 100644 --- a/src/components/listitems/ListItemNav.tsx +++ b/src/components/listitems/ListItemNav.tsx @@ -279,6 +279,7 @@ export const ListItemNav = ({ {loading && } {!loading && !hideChevron && ( {listItemNavAlertContent} = 1.5; + const hugeFontEnabled = deviceFontScale >= 1.35; const dynamicFontScale = Math.min(deviceFontScale, IOFontSizeMultiplier); /* We make the spacing dynamic based on the font scale, but we multiply