Skip to content

Commit

Permalink
Fixed tab bar class was not set in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
OrkhanAlikhanov committed Oct 2, 2018
1 parent 1d9b650 commit d7dd06e
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 d7dd06e

Please sign in to comment.