Преглед на файлове

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

cyberta преди 6 години
родител
ревизия
1b9f715580
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      deltachat-ios/Controller/DCNavigationController.swift
  2. 1 0
      deltachat-ios/Coordinator/AppCoordinator.swift

+ 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
     }()