files/app/app_delegate.rb in motion-prime-0.4.5 vs files/app/app_delegate.rb in motion-prime-0.5.0

- old
+ new

@@ -1,16 +1,16 @@ class AppDelegate < Prime::BaseAppDelegate def on_load(app, options) setup_navigation_styles - open_screen HomeScreen.new(navigation: true), sidebar: SidebarScreen.new + open_screen HomeScreen.new, sidebar: SidebarScreen.new(navigation: false) end def setup_navigation_styles bar_appearance = UINavigationBar.appearance bar_appearance.barTintColor = Prime::Config.color.dark.uicolor settings = { - UITextAttributeFont => MP::Config.font.name.uifont(17), + UITextAttributeFont => Prime::Config.font.name.uifont(17), UITextAttributeTextColor => :white.uicolor } bar_appearance.setTitleTextAttributes(settings) end end \ No newline at end of file