lib/ProMotion/screen/screen_navigation.rb in ProMotion-2.4.2 vs lib/ProMotion/screen/screen_navigation.rb in ProMotion-2.5.0.beta1

- old
+ new

@@ -80,9 +80,12 @@ def set_up_screen_for_open(screen, args={}) # Instantiate screen if given a class screen = screen.new if screen.respond_to?(:new) + # Store screen options + screen.instance_variable_set(:@screen_options, args) + # Set parent screen.parent_screen = self if screen.respond_to?(:parent_screen=) # Set title & modal properties screen.title = args[:title] if args[:title] && screen.respond_to?(:title=)