Fix serif-font bug and round font in avatar placeholders

This commit is contained in:
Ilya Laktyushin
2019-10-23 15:33:52 +04:00
parent f721a92605
commit 61f71dfcb2
31 changed files with 137 additions and 43 deletions

View File

@@ -12,7 +12,7 @@ final class WebSearchBadgeNode: ASDisplayNode {
private let textNode: ASTextNode
private let backgroundNode: ASImageNode
private let font: UIFont = UIFont(name: ".SFCompactRounded-Semibold", size: 17.0)!
private let font: UIFont = Font.with(size: 17.0, design: .round, traits: [.bold])
var text: String = "" {
didSet {