Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Android): Change implementation of
headerConfig
prop on Android (…
…software-mansion#1883) ## Description It looks like the change introduced in software-mansion#1825 has also came with a bug where at least Search Bar was not working on Android. The reason for that has turned out to be the wrong implementation of `headerConfig` property on Android, which was looking for the first child and assuming that it is ScreenStackHeaderConfig - which was wrong, because the change in software-mansion#1825 has moved the ScreenStackHeaderConfig to the bottom of the hierarchy. Fixes not working Search Bar on Android (and some other unknown things maybe?). ## Changes From now `Screen#headerConfig` will traverse through all children of the View and will check if one of them is `ScreenStackHeaderConfig`. ## Test code and steps to reproduce You can check Test1166 if SearchBar is working right now; from now the Search Bar in Example section should work properly. ## Checklist - [ ] Ensured that CI passes
- Loading branch information