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