Commit 441e1d8
authored
fix:
## Description
Fixes `updateSelectedTab` removing unowned fragments (fragments that
were created by other libraries)
## Changes
- Made sure that the code will only remove `TabScreenFragment`
## Test plan
This change was tested using the new Expo template in the preview
version of Expo Go.
Before, the `react-native-screens` removed the fragment created by
`expo-dev-menu`. With this fix, everything seems to work.updateSelectedTab removing unowned fragments (#3608)1 parent ac6d8e3 commit 441e1d8
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
| |||
0 commit comments