@@ -66,14 +66,14 @@ function ProfileScreen({ route }) {
6666 < Text > Profile! < / Text >
6767 < Text > {route .params .user }' s profile</Text>
6868 <Button onPress={() => navigation.dispatch(StackActions.pop(1))}>
69- Push same screen on the stack
69+ Pop one screen from stack
7070 </Button>
7171 <Button
7272 onPress={() => {
7373 navigation.dispatch(StackActions.push(' Profile' , { user: ' Wojtek' }));
7474 }}
7575 >
76- Pop one screen from stack
76+ Push same screen on the stack
7777 </Button>
7878 <Button onPress={() => navigation.dispatch(StackActions.popToTop())}>
7979 Pop to top
@@ -142,14 +142,14 @@ function ProfileScreen({ navigation, route }) {
142142 <Text>Profile!</Text>
143143 <Text>{route.params.user}' s profile< / Text >
144144 < Button onPress= {() => navigation .dispatch (StackActions .pop (1 ))}>
145- Push same screen on the stack
145+ Pop one screen from stack
146146 < / Button>
147147 < Button
148148 onPress= {() => {
149149 navigation .dispatch (StackActions .push (' Profile' , { user: ' Wojtek' }));
150150 }}
151151 >
152- Pop one screen from stack
152+ Push same screen on the stack
153153 < / Button>
154154 < Button onPress= {() => navigation .dispatch (StackActions .popToTop ())}>
155155 Pop to top
@@ -246,14 +246,14 @@ function ProfileScreen({ route }) {
246246 < Text > Profile! < / Text >
247247 < Text > {route .params .user }' s profile</Text>
248248 <Button onPress={() => navigation.dispatch(StackActions.pop(1))}>
249- Push same screen on the stack
249+ Pop one screen from stack
250250 </Button>
251251 <Button
252252 onPress={() => {
253253 navigation.dispatch(StackActions.push(' Profile' , { user: ' Wojtek' }));
254254 }}
255255 >
256- Pop one screen from stack
256+ Push same screen on the stack
257257 </Button>
258258 <Button onPress={() => navigation.dispatch(StackActions.popToTop())}>
259259 Pop to top
@@ -322,14 +322,14 @@ function ProfileScreen({ navigation, route }) {
322322 <Text>Profile!</Text>
323323 <Text>{route.params.user}' s profile< / Text >
324324 < Button onPress= {() => navigation .dispatch (StackActions .pop (1 ))}>
325- Push same screen on the stack
325+ Pop one screen from stack
326326 < / Button>
327327 < Button
328328 onPress= {() => {
329329 navigation .dispatch (StackActions .push (' Profile' , { user: ' Wojtek' }));
330330 }}
331331 >
332- Pop one screen from stack
332+ Push same screen on the stack
333333 < / Button>
334334 < Button onPress= {() => navigation .dispatch (StackActions .popToTop ())}>
335335 Pop to top
@@ -411,14 +411,14 @@ function ProfileScreen({ route }) {
411411 // codeblock-focus-end
412412 }}
413413 >
414- Push same screen on the stack
414+ Pop one screen from stack
415415 </Button>
416416 <Button
417417 onPress={() => {
418418 navigation.dispatch(StackActions.push(' Profile' , { user: ' Wojtek' }));
419419 }}
420420 >
421- Pop one screen from stack
421+ Push same screen on the stack
422422 </Button>
423423 <Button onPress={() => navigation.dispatch(StackActions.popToTop())}>
424424 Pop to top
@@ -491,14 +491,14 @@ function ProfileScreen({ navigation, route }) {
491491 // codeblock-focus-end
492492 }}
493493 >
494- Push same screen on the stack
494+ Pop one screen from stack
495495 < / Button>
496496 < Button
497497 onPress= {() => {
498498 navigation .dispatch (StackActions .push (' Profile' , { user: ' Wojtek' }));
499499 }}
500500 >
501- Pop one screen from stack
501+ Push same screen on the stack
502502 < / Button>
503503 < Button onPress= {() => navigation .dispatch (StackActions .popToTop ())}>
504504 Pop to top
@@ -593,14 +593,14 @@ function ProfileScreen({ route }) {
593593 < Text > Profile! < / Text >
594594 < Text > {route .params .user }' s profile</Text>
595595 <Button onPress={() => navigation.dispatch(StackActions.pop(1))}>
596- Push same screen on the stack
596+ Pop one screen from stack
597597 </Button>
598598 <Button
599599 onPress={() => {
600600 navigation.dispatch(StackActions.push(' Profile' , { user: ' Wojtek' }));
601601 }}
602602 >
603- Pop one screen from stack
603+ Push same screen on the stack
604604 </Button>
605605 <Button
606606 onPress={() => {
@@ -673,14 +673,14 @@ function ProfileScreen({ navigation, route }) {
673673 <Text>Profile!</Text>
674674 <Text>{route.params.user}' s profile< / Text >
675675 < Button onPress= {() => navigation .dispatch (StackActions .pop (1 ))}>
676- Push same screen on the stack
676+ Pop one screen from stack
677677 < / Button>
678678 < Button
679679 onPress= {() => {
680680 navigation .dispatch (StackActions .push (' Profile' , { user: ' Wojtek' }));
681681 }}
682682 >
683- Pop one screen from stack
683+ Push same screen on the stack
684684 < / Button>
685685 < Button
686686 onPress= {() => {
0 commit comments