From bf13fff473c6cec1c278feb4ca11e05332c0b5f6 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 23 May 2023 14:44:52 -0500 Subject: [PATCH] added fix for typogprahy issue in Tabs Spec Signed-off-by: Matt Bruce --- VDS/Components/Tabs/Tabs.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/VDS/Components/Tabs/Tabs.swift b/VDS/Components/Tabs/Tabs.swift index a51e8d40..0888feea 100644 --- a/VDS/Components/Tabs/Tabs.swift +++ b/VDS/Components/Tabs/Tabs.swift @@ -45,7 +45,10 @@ public class Tabs: View { if self == .medium { return .boldBodyLarge } else { - return .boldTitleSmall + //specs show that the font size shouldn't change however boldTitleSmall does + //change point size between iPad/iPhone. This is a "fix" so each device will + //load the correct pointSize + return UIDevice.isIPad ? .boldTitleSmall : .boldTitleMedium } } }