feat(Appbar): use height based on the platform
Summary
Appbar is using the wrong height on iOS. This was noticed when using Appbar as a custom header in react-navigation.
This implementation still differs from react-navigation because we aren't checking if the orientation is landscape.
Test plan
- Open the example app on iOS
- Check if the header has a height of 44px
The mobile version of example app from this branch is ready! You can see it here.
@brunohkbx Thanks for the contribution. Unfortunately, this is a breaking change and we need to wait with this change till the next major version. We will keep it open, cause we definitely want to have it merged when the right time comes.
Is it possible to work around this with theming or styling?
edit: it was easy to solve this with patch-package