Shortened loadFont

This commit is contained in:
Mihael Cholakov 2018-08-25 22:06:05 +03:00
parent 5702cea843
commit def9e10f1a

View File

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