files/app/screens/sidebar_screen.rb in motion-prime-0.4.5 vs files/app/screens/sidebar_screen.rb in motion-prime-0.5.0
- old
+ new
@@ -1,14 +1,14 @@
-class SidebarScreen < Prime::BaseScreen
+class SidebarScreen < Prime::Screen
def render
@main_section = SidebarTableSection.new(screen: self)
@main_section.render
end
def open_home
- open_screen HomeScreen.new(navigation: true)
+ app_delegate.open_screen HomeScreen.new
end
def open_help
- open_screen HelpScreen.new(navigation: true)
+ app_delegate.open_screen HelpScreen.new
end
end
\ No newline at end of file