-
-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Android): Fix calculating header height when changing status/acti…
…on bar visibility (#1922) ## Description Currently when user changes status bar and action bar visibility header height is not being changed on `use(Re)animatedHeaderHeight`. This PR fixes this by checking if status bar or action bar has been hidden. ## Changes - Fixed calculating header height by taking into account status bar height and action bar height. ## Test code and steps to reproduce You can check how those change works by changing `statusBarHidden` / `headerShown` in Test1802.tsx test. ## Checklist - [ ] Included code example that can be used to test this change - [ ] Ensured that CI passes
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters