yogevbd 6 anos atrás
pai
commit
dad564b900

+ 4
- 4
playground/src/screens/CustomTransitionDestination.js Ver arquivo

@@ -32,10 +32,10 @@ class CustomTransitionDestination extends Component {
32 32
       customTransition: {
33 33
         animations: [
34 34
           { type: 'sharedElement', fromId: 'title2', toId: 'title1', startDelay: 0, springVelocity: 0.2, duration: 0.5 },
35
-        { type: 'sharedElement', toId: 'image1', fromId: 'customDestinationImage', startDelay: 0, springVelocity: 0.2, duration: 0.5 },
36
-        { type: 'sharedElement', toId: 'image2', fromId: 'customDestinationImage2', startDelay: 0, duration: 0.8 },
37
-        { fromId: 'image4', x: { from: 50}, y: { from: 50}, startAlpha: 0, startDelay: 0, duration: 0.8, springVelocity: 0.5 },
38
-        { fromId: 'customDestinationParagraph', y: { to: 50}, x: { to: 50}, endAlpha: 0, startAlpha: 1, startDelay: 0, duration: 0.8 }
35
+          { type: 'sharedElement', toId: 'image1', fromId: 'customDestinationImage', startDelay: 0, springVelocity: 0.2, duration: 0.5 },
36
+          { type: 'sharedElement', toId: 'image2', fromId: 'customDestinationImage2', startDelay: 0, duration: 0.8 },
37
+          { fromId: 'image4', x: { from: 50 }, y: { from: 50 }, startAlpha: 0, startDelay: 0, duration: 0.8, springVelocity: 0.5 },
38
+          { fromId: 'customDestinationParagraph', y: { to: 50 }, x: { to: 50 }, endAlpha: 0, startAlpha: 1, startDelay: 0, duration: 0.8 }
39 39
         ],
40 40
         duration: 0.8
41 41
       }

+ 1
- 1
playground/src/screens/WelcomeScreen.js Ver arquivo

@@ -67,7 +67,7 @@ class WelcomeScreen extends Component {
67 67
                     },
68 68
                     options: {
69 69
                       topBar: {
70
-                        visible: true,
70
+                        visible: (Platform.OS === 'android') ? true : false,
71 71
                         title: 'React Native Navigation!'
72 72
                       }
73 73
                     }