panhui 5 vuotta sitten
vanhempi
commit
104b5a65cf
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      screens/Main/SearchScreen.jsx

+ 2 - 0
screens/Main/SearchScreen.jsx

@@ -1,6 +1,7 @@
 import * as WebBrowser from 'expo-web-browser';
 import * as React from 'react';
 import { StatusBar } from 'expo-status-bar';
+import Constants from 'expo-constants';
 import {
   Div,
   Button,
@@ -73,6 +74,7 @@ export default function SearchScreen({ navigation }) {
   return (
     <>
       <StatusBar backgroundColor="transparent" style="dark" translucent />
+      <Div h={Constants.statusBarHeight} bg="white" />
       <Div row bg="white" py={10} alignItems="center">
         <Input
           bg="gray200"