소스 검색

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 년 전
부모
커밋
9f2df21052
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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]