Skip to content

Commit

Permalink
Merge pull request #1167 from OrkhanAlikhanov/tab-bar-height
Browse files Browse the repository at this point in the history
Fixed tab bar class was not set in some cases
  • Loading branch information
DanielDahan authored Oct 2, 2018
2 parents 1d9b650 + d7dd06e commit edab490
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/iOS/BottomNavigationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ open class BottomNavigationController: UITabBarController {
/// An initializer that accepts no parameters.
public init() {
super.init(nibName: nil, bundle: nil)
setTabBarClass()
}

/**
Expand All @@ -106,6 +107,7 @@ open class BottomNavigationController: UITabBarController {
*/
public init(viewControllers: [UIViewController]) {
super.init(nibName: nil, bundle: nil)
setTabBarClass()
self.viewControllers = viewControllers
}

Expand Down

0 comments on commit edab490

Please sign in to comment.