lib/ProMotion/screen_helpers/screen_tabs.rb in ProMotion-0.6.5 vs lib/ProMotion/screen_helpers/screen_tabs.rb in ProMotion-0.7.0

- old
+ new

@@ -32,12 +32,12 @@ # @param [Array] A comma-delimited list of screen classes or instances. # @return [UITabBarController] def open_tab_bar(*screens) tab_bar = tab_bar_controller(*screens) - a = self.respond_to?(:load_root_screen) ? self : UIApplication.sharedApplication.delegate + a = self.respond_to?(:open_root_screen) ? self : UIApplication.sharedApplication.delegate - a.load_root_screen(tab_bar) + a.open_root_screen(tab_bar) tab_bar end def open_tab(tab) if tab.is_a? String