Make unread count font bold. Issue #1209
This commit is contained in:
parent
586eb03f35
commit
45a38c550b
@ -21,7 +21,7 @@ class MasterFeedUnreadCountView : UIView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var textAttributes: [NSAttributedString.Key: AnyObject] {
|
var textAttributes: [NSAttributedString.Key: AnyObject] {
|
||||||
let textFont = UIFont.preferredFont(forTextStyle: .caption1)
|
let textFont = UIFont.preferredFont(forTextStyle: .caption1).bold()
|
||||||
return [NSAttributedString.Key.foregroundColor: textColor, NSAttributedString.Key.font: textFont, NSAttributedString.Key.kern: NSNull()]
|
return [NSAttributedString.Key.foregroundColor: textColor, NSAttributedString.Key.font: textFont, NSAttributedString.Key.kern: NSNull()]
|
||||||
}
|
}
|
||||||
var textSizeCache = [Int: CGSize]()
|
var textSizeCache = [Int: CGSize]()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user