Parcourir la source

set background for tab bar and navigation bar to white - don't derive their background color from the underlying UITableLayouts

cyberta il y a 6 ans
Parent
commit
1b9f715580

+ 1 - 1
deltachat-ios/Controller/DCNavigationController.swift

@@ -12,7 +12,7 @@ final class DCNavigationController: UINavigationController {
         } else {
             navigationBar.setBackgroundImage(UIImage(), for: .default)
         }
-
+        navigationBar.backgroundColor = .white;
         setShadow(nil)
     }
 

+ 1 - 0
deltachat-ios/Coordinator/AppCoordinator.swift

@@ -18,6 +18,7 @@ class AppCoordinator: NSObject, Coordinator {
         // put viewControllers here
         tabBarController.delegate = self
         tabBarController.tabBar.tintColor = DCColors.primary
+		tabBarController.tabBar.backgroundColor = .white
         return tabBarController
     }()