This commit is contained in:
Florian Gabach
2017-06-27 09:21:16 +02:00
parent 242b6ae368
commit 43b76c064c
7 changed files with 30 additions and 8 deletions
@@ -83,7 +83,7 @@ class OpenSourceViewController: UITableViewController {
self.navigationController?.navigationBar.barTintColor = tintColor
}
if let textColor = self.config.uiConfig.titleColor {
let attribut = [NSForegroundColorAttributeName: textColor]
let attribut = [NSAttributedStringKey.foregroundColor.rawValue: textColor]
self.navigationController?.navigationBar.titleTextAttributes = attribut
}