Skip to content

Commit b87efc5

Browse files
Chrischuckjtklein
andauthored
Fix stale navigation state issue (#520)
* Fix stale obs activity state * Fix stale obs activity state --------- Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
1 parent ba937d4 commit b87efc5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/navigation/BottomTabNavigator

src/navigation/BottomTabNavigator/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ const BottomTabs = () => {
168168
name="ObsDetails"
169169
component={ObsDetails}
170170
options={{
171-
headerTitle: t( "Observation" )
171+
headerTitle: t( "Observation" ),
172+
unmountOnBlur: true
172173
}}
173174
/>
174175
<Tab.Screen

0 commit comments

Comments
 (0)