Skip to content

Commit

Permalink
Fix small bug in delegate
Browse files Browse the repository at this point in the history
Fix small bug in delegate that call UITabBarViewControllerDelegate with wrong parameter. Instead of tapped controller it send tabbarcontroller
  • Loading branch information
rafalwojcik committed Apr 28, 2016
1 parent e7fde59 commit 9b4fe35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public class RAMAnimatedTabBarController: UITabBarController {
container.backgroundColor = items[currentIndex].bgSelectedColor

selectedIndex = gestureView.tag
delegate?.tabBarController?(self, didSelectViewController: self)
delegate?.tabBarController?(self, didSelectViewController: controller)

} else if selectedIndex == currentIndex {

Expand Down

0 comments on commit 9b4fe35

Please sign in to comment.