Ran Greenberg 7 years ago
parent
commit
be1200895c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      playground/src/containers/PushedScreen.js

+ 1
- 1
playground/src/containers/PushedScreen.js View File

@@ -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
     );