Sha256: 486498ebd34ce122d8e784a0e9df0a9f2bd74d810ee5b834d160d63056f6966e

Contents?: true

Size: 474 Bytes

Versions: 9

Compression:

Stored size: 474 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
motion-prime-0.7.2 files/app/app_delegate.rb
motion-prime-0.7.1 files/app/app_delegate.rb
motion-prime-0.7.0 files/app/app_delegate.rb
motion-prime-0.6.0 files/app/app_delegate.rb
motion-prime-0.5.7 files/app/app_delegate.rb
motion-prime-0.5.6 files/app/app_delegate.rb
motion-prime-0.5.5 files/app/app_delegate.rb
motion-prime-0.5.4 files/app/app_delegate.rb
motion-prime-0.5.3 files/app/app_delegate.rb