added fix for typogprahy issue in Tabs Spec

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-05-23 14:44:52 -05:00
parent 8d4862ac6a
commit bf13fff473

View File

@ -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
}
}
}