Commit 6c33811f by Daniel Dahan

minor updates on ordering for bottomNavigationBar

parent 6251dcdc
......@@ -61,7 +61,6 @@ class AppNavigationController: NavigationController {
/// Prepares the navigationBar
private func prepareNavigationBar() {
navigationBar.tintColor = MaterialColor.white
navigationBar.backgroundColor = MaterialColor.blue.base
}
}
......@@ -108,7 +108,7 @@ class RecipesViewController: UIViewController {
let vc: AppSearchBarController = AppSearchBarController(rootViewController: RecommendationViewController(dataSourceItems: recommended))
vc.modalTransitionStyle = .CrossDissolve
navigationController?.presentViewController(vc, animated: true, completion: nil)
presentViewController(vc, animated: true, completion: nil)
}
/// Prepares the items Array.
......
......@@ -143,8 +143,9 @@ public class BottomNavigationController : UITabBarController, UITabBarController
/// Prepares the tabBar.
private func prepareTabBar() {
tabBar.depth = .Depth1
let image: UIImage? = UIImage.imageWithColor(MaterialColor.clear, size: CGSizeMake(1, 1))
tabBar.shadowImage = image
tabBar.backgroundImage = image
tabBar.backgroundColor = MaterialColor.white
tabBar.shadowImage = UIImage.imageWithColor(MaterialColor.clear, size: CGSizeMake(1, 1))
tabBar.backgroundImage = UIImage()
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment