fix: dispatch pop early when screen is closed with gesture (#336)

fixes #267
This commit is contained in:
Satyajit Sahoo
2020-02-02 23:56:05 +01:00
committed by GitHub
parent 343320783f
commit 3d937d1e65
7 changed files with 44 additions and 19 deletions

View File

@@ -286,7 +286,7 @@ export default function App() {
<List.Item
key={name}
title={SCREENS[name].title}
onPress={() => navigation.push(name)}
onPress={() => navigation.navigate(name)}
/>
)
)}