mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-23 03:36:34 +10:00
update navigationBarTitleFont for NavigationTitleLabel
This commit is contained in:
@@ -37,8 +37,8 @@ extension UIFont {
|
||||
return UIFont.systemFontOfSize(14)
|
||||
}
|
||||
|
||||
class func navigationBarTitleFont() -> UIFont {
|
||||
return UIFont.boldSystemFontOfSize(15)
|
||||
class func navigationBarTitleFont() -> UIFont { // make sure it's the same as system use
|
||||
return UIFont.boldSystemFontOfSize(18)
|
||||
}
|
||||
|
||||
class func feedMessageFont() -> UIFont {
|
||||
|
||||
@@ -20,7 +20,7 @@ class NavigationTitleLabel: UILabel {
|
||||
text = title
|
||||
|
||||
textAlignment = .Center
|
||||
font = UIFont.navigationBarTitleFont()
|
||||
font = UIFont.navigationBarTitleFont() // make sure it's the same as system use
|
||||
textColor = UIColor.yepNavgationBarTitleColor()
|
||||
|
||||
sizeToFit()
|
||||
|
||||
Reference in New Issue
Block a user