Commit 0c37478
authored
fix(iOS, Tabs): fix diverging behavior of JS updates requesting
Fix-up `moreNavigationController` handling on platforms where it is not
available
I've introduced a bug in
[#3785](https://github.com/software-mansion/react-native-screens/pull/3785/changes#diff-24866ece8ac586353673ecc0296de6ac8be5c1df28f12039774c9580bd5750d3).
If the code runs on a platform where `moreNavigationController` is not
available,
the whole code for handling update requesting the
`moreNavigationController` won't execute - the update will not be
rejected
as on other platforms, but rather the asserts will crash (in debug).moreNavigationController on various Apple platforms (#3813)1 parent 4ac9ca1 commit 0c37478
1 file changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | 352 | | |
354 | 353 | | |
355 | 354 | | |
356 | 355 | | |
357 | 356 | | |
358 | 357 | | |
359 | 358 | | |
360 | | - | |
| 359 | + | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | 365 | | |
367 | 366 | | |
368 | 367 | | |
| |||
605 | 604 | | |
606 | 605 | | |
607 | 606 | | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
608 | 624 | | |
609 | 625 | | |
610 | 626 | | |
| |||
0 commit comments