added fix for typogprahy issue in Tabs Spec
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
8d4862ac6a
commit
bf13fff473
@ -45,7 +45,10 @@ public class Tabs: View {
|
|||||||
if self == .medium {
|
if self == .medium {
|
||||||
return .boldBodyLarge
|
return .boldBodyLarge
|
||||||
} else {
|
} 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user