Ran Greenberg 8 년 전
부모
커밋
be1200895c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      playground/src/containers/PushedScreen.js

+ 1
- 1
playground/src/containers/PushedScreen.js 파일 보기

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