Swift 4 fix

This commit is contained in:
Florian Gabach
2017-09-03 09:55:34 +02:00
parent 43b76c064c
commit 2ae380ced9
10 changed files with 36 additions and 14 deletions
@@ -83,7 +83,7 @@ class OpenSourceViewController: UITableViewController {
self.navigationController?.navigationBar.barTintColor = tintColor
}
if let textColor = self.config.uiConfig.titleColor {
let attribut = [NSAttributedStringKey.foregroundColor.rawValue: textColor]
let attribut = [NSAttributedStringKey.foregroundColor: textColor]
self.navigationController?.navigationBar.titleTextAttributes = attribut
}