Manos Chorianopoulos

nav title ui fix

......@@ -113,16 +113,16 @@ extension UIViewController {
if UIDevice.current.userInterfaceIdiom == .pad {
// iPad
if (fontWeight == "bold") {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 20)
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 21)
} else {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 20)
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 21)
}
} else {
// not iPad (iPhone, mac, tv, carPlay, unspecified)
if (fontWeight == "bold") {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 17)
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 18)
} else {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 17)
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 18)
}
}
titleLabel.adjustsFontSizeToFitWidth = true
......