Fix drawer closing behavior

This commit is contained in:
Brent Vatne
2018-06-20 15:29:57 -07:00
parent 959a980087
commit 912ef8b9d7
4 changed files with 15 additions and 7 deletions

View File

@@ -16,6 +16,10 @@ const MyNavScreen = ({ navigation, banner }) => (
title="Open other screen"
/>
<Button onPress={() => navigation.goBack(null)} title="Go back" />
<Button
onPress={() => navigation.navigate('Home')}
title="Go back to list"
/>
</SafeAreaView>
<StatusBar barStyle="default" />
</ScrollView>