Ran Greenberg hace 7 años
padre
commit
be1200895c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      playground/src/containers/PushedScreen.js

+ 1
- 1
playground/src/containers/PushedScreen.js Ver fichero

@@ -26,7 +26,7 @@ class PushedScreen extends Component {
26 26
         <Button title="Push" onPress={this.onClickPush} />
27 27
         <Button title="Pop" onPress={this.onClickPop} />
28 28
         <Button title="Pop Previous" onPress={this.onClickPopPrevious} />
29
-        {stackPosition === 3 && <Button title="Pop To Stack Position 1" onPress={this.onClickPopToFirstPosition} />}
29
+        {stackPosition > 2 && <Button title="Pop To Stack Position 1" onPress={this.onClickPopToFirstPosition} />}
30 30
         <Text style={styles.footer}>{`this.props.id = ${this.props.id}`}</Text>
31 31
       </View>
32 32
     );