Commit edab4901 by Daniel Jonathan Committed by GitHub

Merge pull request #1167 from OrkhanAlikhanov/tab-bar-height

Fixed tab bar class was not set in some cases
parents 1d9b650a d7dd06e8
......@@ -98,6 +98,7 @@ open class BottomNavigationController: UITabBarController {
/// An initializer that accepts no parameters.
public init() {
super.init(nibName: nil, bundle: nil)
setTabBarClass()
}
/**
......@@ -106,6 +107,7 @@ open class BottomNavigationController: UITabBarController {
*/
public init(viewControllers: [UIViewController]) {
super.init(nibName: nil, bundle: nil)
setTabBarClass()
self.viewControllers = viewControllers
}
......
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