files/app/app_delegate.rb in motion-prime-0.7.2 vs files/app/app_delegate.rb in motion-prime-0.8.0
- old
+ new
@@ -1,17 +1,5 @@
class AppDelegate < Prime::BaseAppDelegate
def on_load(app, options)
- setup_navigation_styles
open_screen :home, sidebar: true
- end
-
- def setup_navigation_styles
- bar_appearance = UINavigationBar.appearance
- bar_appearance.barTintColor = :app_dark.uicolor
-
- settings = {
- UITextAttributeFont => Prime::Config.font.name.uifont(17),
- UITextAttributeTextColor => :white.uicolor
- }
- bar_appearance.setTitleTextAttributes(settings)
end
end
\ No newline at end of file