Shortened loadFont
This commit is contained in:
parent
5702cea843
commit
def9e10f1a
@ -76,8 +76,7 @@ public extension AttributedStringOutputFormat {
|
|||||||
private mutating func loadFont() -> UIFont {
|
private mutating func loadFont() -> UIFont {
|
||||||
|
|
||||||
let size = CGFloat(theme.font.size)
|
let size = CGFloat(theme.font.size)
|
||||||
let font = UIFont.defaultFont(ofSize: size)
|
return .defaultFont(ofSize: size)
|
||||||
return font
|
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user