lib/ProMotion/screens/_screen_module.rb in ProMotion-0.6.3 vs lib/ProMotion/screens/_screen_module.rb in ProMotion-0.6.4
- old
+ new
@@ -4,10 +4,10 @@
include ProMotion::ScreenElements
include ProMotion::SystemHelper
include ProMotion::ScreenTabs
include ProMotion::SplitScreen if NSBundle.mainBundle.infoDictionary["UIDeviceFamily"].include?("2")
- attr_accessor :parent_screen, :first_screen, :tab_bar_item, :tab_bar, :modal, :split_screen, :title
+ attr_accessor :parent_screen, :first_screen, :tab_bar_item, :tab_bar, :modal, :split_screen
def on_create(args = {})
unless self.is_a?(UIViewController)
raise StandardError.new("ERROR: Screens must extend UIViewController or a subclass of UIViewController.")
end