Skip to content

Commit 26ca4b9

Browse files
author
tedcurrent
committed
Derp
1 parent fa9a1fe commit 26ca4b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

App.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ import { createStackNavigator } from 'react-navigation-stack';
1010

1111
// NOTE: If you tap the back button, focused works just fine.
1212
const Home = withNavigationFocus(({ navigation }) => {
13-
console.warn(navigation.isFocused());
1413
return (
1514
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
16-
<Text>Home Screen</Text>
15+
<Text>Home Screen: {String(navigation.isFocused())}</Text>
1716
<Button
1817
title="Go to Details"
1918
onPress={() => navigation.navigate('Details')}

0 commit comments

Comments
 (0)