Skip to content

Commit

Permalink
iPhoneXFamily Notch StatusBar Design Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Mar 9, 2020
1 parent 8ea643b commit 6b5b94c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const container = (backgroundColor, insets) => {
backgroundColor,
borderBottomEndRadius: 24,
borderBottomStartRadius: 24,
height: isAndroid ? insets.top + 75 : isIPhoneXFamily() ? 120 : 85
height: isAndroid ? insets.top + 75 : isIPhoneXFamily() ? 115 : 85
};
};

Expand All @@ -33,7 +33,7 @@ export const searchboxContainer = insets => ({
justifyContent: "space-around",
...Platform.select({
ios: {
marginTop: isIPhoneXFamily() ? getStatusBarHeight() + 25 : 38
marginTop: isIPhoneXFamily() ? getStatusBarHeight() + 23 : 38
},
android: {
marginTop: insets.top + 25
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-header-search-bar",
"version": "0.1.9",
"version": "0.1.10",
"description": "Fully customizable header search bar for React Native",
"keywords": [
"header",
Expand Down

0 comments on commit 6b5b94c

Please sign in to comment.