lib/ProMotion/screen_helpers/screen_navigation.rb in ProMotion-0.7.4 vs lib/ProMotion/screen_helpers/screen_navigation.rb in ProMotion-0.7.5
- old
+ new
@@ -105,10 +105,10 @@
# Hide bottom bar?
screen.hidesBottomBarWhenPushed = args[:hide_tab_bar] == true
# Wrap in a PM::NavigationController?
- screen.add_nav_bar if args[:nav_bar] && screen.respond_to?(:add_nav_bar)
+ screen.add_nav_bar(args) if args[:nav_bar] && screen.respond_to?(:add_nav_bar)
# Return modified screen instance
screen
end