Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Barreto committed Mar 28, 2018
1 parent 5f398ce commit 2964d27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/SegmentedPagerTabStripViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ open class SegmentedPagerTabStripViewController: PagerTabStripViewController, Pa

open override func viewDidLoad() {
super.viewDidLoad()
segmentedControl = segmentedControl ?? UISegmentedControl()
let auxSegmentedControl = segmentedControl ?? UISegmentedControl()
segmentedControl = auxSegmentedControl
if segmentedControl.superview == nil {
navigationItem.titleView = segmentedControl
}
Expand Down

0 comments on commit 2964d27

Please sign in to comment.