Selaa lähdekoodia

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 5 vuotta sitten
vanhempi
commit
9f2df21052
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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]