From 6c8d53c6ff0bb41398b9227217e1a934237befea Mon Sep 17 00:00:00 2001 From: nixzhu Date: Tue, 3 Nov 2015 18:02:12 +0800 Subject: [PATCH] update navigationBarTitleFont for NavigationTitleLabel --- Yep/Extensions/UIFont+Yep.swift | 4 ++-- Yep/Views/Labels/NavigationTitleLabel.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Yep/Extensions/UIFont+Yep.swift b/Yep/Extensions/UIFont+Yep.swift index 0c4f2b71..21d0368e 100644 --- a/Yep/Extensions/UIFont+Yep.swift +++ b/Yep/Extensions/UIFont+Yep.swift @@ -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 { diff --git a/Yep/Views/Labels/NavigationTitleLabel.swift b/Yep/Views/Labels/NavigationTitleLabel.swift index 76eb6d67..dcad72a0 100644 --- a/Yep/Views/Labels/NavigationTitleLabel.swift +++ b/Yep/Views/Labels/NavigationTitleLabel.swift @@ -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()