Skip to content

Commit

Permalink
Fix nav to Notifications by including ObsStackNavigator; closes #1252 (
Browse files Browse the repository at this point in the history
  • Loading branch information
albullington authored Mar 26, 2024
1 parent 0e0a656 commit 408115b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/navigation/BottomTabNavigator/CustomTabBarContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,14 @@ const CustomTabBarContainer = ( { navigation }: Props ): Node => {
onPress: ( ) => {
navigation.reset( {
index: 0,
routes: [{ name: "Notifications" }]
routes: [
{
name: "ObservationsStackNavigator",
params: {
screen: "Notifications"
}
}
]
} );
setActiveTab( NOTIFICATIONS_SCREEN_ID );
},
Expand Down

0 comments on commit 408115b

Please sign in to comment.