Skip to content

Commit 8ea643b

Browse files
committed
Design is a bit changed for StatusBar
1 parent f0d010e commit 8ea643b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/src/HeaderClassicSearchBar/HeaderClassicSearchBar.style.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const container = (backgroundColor, insets) => {
2323
backgroundColor,
2424
borderBottomEndRadius: 24,
2525
borderBottomStartRadius: 24,
26-
height: isAndroid ? insets.top + 70 : isIPhoneXFamily() ? 115 : 80
26+
height: isAndroid ? insets.top + 75 : isIPhoneXFamily() ? 120 : 85
2727
};
2828
};
2929

@@ -33,10 +33,10 @@ export const searchboxContainer = insets => ({
3333
justifyContent: "space-around",
3434
...Platform.select({
3535
ios: {
36-
marginTop: isIPhoneXFamily() ? getStatusBarHeight() + 16 : 30
36+
marginTop: isIPhoneXFamily() ? getStatusBarHeight() + 25 : 38
3737
},
3838
android: {
39-
marginTop: insets.top + 16
39+
marginTop: insets.top + 25
4040
}
4141
})
4242
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-header-search-bar",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Fully customizable header search bar for React Native",
55
"keywords": [
66
"header",

0 commit comments

Comments
 (0)