panhui 5 年之前
父節點
當前提交
104b5a65cf
共有 1 個文件被更改,包括 2 次插入0 次删除
  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"