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

@@ -11,7 +11,7 @@ import AccountContext
import LocalizedPeerData
private let animationDurationFactor: Double = 1.0
private let avatarFont = UIFont(name: ".SFCompactRounded-Semibold", size: 16.0)!
private let avatarFont = avatarPlaceholderFont(size: 16.0)
private protocol AbstractSwitchAccountItemNode {
func updateLayout(maxWidth: CGFloat) -> (CGFloat, CGFloat, (CGFloat) -> Void)