Explorar o código

VLCTabBarCoordinator: VLCSettingsController: Set navigationBar translucency to fasle

This avoids to have a color difference between the navigationBar
and the content.

(regression from commit ea91de9f7ea028cefcad0b3f4e65badaf1d8967c)
Soomin Lee %!s(int64=5) %!d(string=hai) anos
pai
achega
9f2df21052
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Sources/VLCTabBarCoordinator.swift

+ 1 - 0
Sources/VLCTabBarCoordinator.swift

@@ -35,6 +35,7 @@ class VLCTabBarCoordinator: NSObject {
         tabBarController.tabBar.itemPositioning = .fill
         tabBarController.viewControllers?.forEach {
             if let navController = $0 as? UINavigationController, navController.topViewController is VLCSettingsController {
+                navController.navigationBar.isTranslucent = false
                 navController.navigationBar.barTintColor = PresentationTheme.current.colors.navigationbarColor
                 navController.navigationBar.tintColor = PresentationTheme.current.colors.orangeUI
                 navController.navigationBar.titleTextAttributes = [NSAttributedString.Key.foregroundColor:  PresentationTheme.current.colors.navigationbarTextColor]