Commit 629c3948 authored by Kevin Bettin's avatar Kevin Bettin Committed by Soomin Lee

Fix SwiftLint related warnings

parent f5c7770f
......@@ -39,7 +39,7 @@ extension Notification.Name {
public init(isDark: Bool,
name: String,
statusBarStyle:UIStatusBarStyle,
statusBarStyle: UIStatusBarStyle,
navigationbarColor: UIColor,
navigationbarTextColor: UIColor,
background: UIColor,
......
......@@ -37,8 +37,8 @@ class VLCTabbarCooordinator: NSObject, VLCMediaViewControllerDelegate {
tabBarController.tabBar.barTintColor = PresentationTheme.current.colors.tabBarColor
tabBarController.viewControllers?.forEach {
if let navController = $0 as? UINavigationController, navController.topViewController is VLCSettingsController {
navController.navigationBar.barTintColor = PresentationTheme.current.colors.navigationbarColor
navController.navigationBar.tintColor = PresentationTheme.current.colors.orangeUI
navController.navigationBar.barTintColor = PresentationTheme.current.colors.navigationbarColor
navController.navigationBar.tintColor = PresentationTheme.current.colors.orangeUI
navController.navigationBar.titleTextAttributes = [NSAttributedStringKey.foregroundColor: PresentationTheme.current.colors.navigationbarTextColor]
if #available(iOS 11.0, *) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment