Procházet zdrojové kódy

Use animationType fade when starting the app

Guy Carmeli před 8 roky
rodič
revize
b9a3ceda60
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1
    0
      example/src/app.js

+ 1
- 0
example/src/app.js Zobrazit soubor

29
 // this will start our app
29
 // this will start our app
30
 Navigation.startTabBasedApp({
30
 Navigation.startTabBasedApp({
31
   tabs,
31
   tabs,
32
+  animationType: Platform.OS === 'ios' ? 'slide-down' : 'fade',
32
   tabsStyle: {
33
   tabsStyle: {
33
     tabBarBackgroundColor: '#003a66',
34
     tabBarBackgroundColor: '#003a66',
34
     navBarButtonColor: '#ffffff',
35
     navBarButtonColor: '#ffffff',