Skip to content

Commit 58f8eac

Browse files
Update DatePickerModal.tsx
1 parent 60e1ea0 commit 58f8eac

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/Date/DatePickerModal.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,8 @@ export function DatePickerModal(
110110
<View
111111
style={[
112112
{
113-
height: Platform.select({
114-
ios: StatusBar.currentHeight,
115-
android: StatusBar.currentHeight,
116-
web: insets.top,
117-
}),
118-
backgroundColor: Platform.select({
119-
ios: theme.colors.primary,
120-
android: theme.colors.primary,
121-
web: headerBackgroundColor,
122-
}),
113+
height: insets.top,
114+
backgroundColor: headerBackgroundColor,
123115
},
124116
]}
125117
/>

0 commit comments

Comments
 (0)