소스 검색

Use translucent status bar in example

Janic Duplessis 5 년 전
부모
커밋
cc351f14e7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      example/App.tsx

+ 2
- 1
example/App.tsx 파일 보기

6
 
6
 
7
 const Screen = () => {
7
 const Screen = () => {
8
   const insets = useSafeArea();
8
   const insets = useSafeArea();
9
+
9
   return (
10
   return (
10
     <>
11
     <>
11
       <StatusBar
12
       <StatusBar
12
         barStyle="dark-content"
13
         barStyle="dark-content"
13
-        translucent={false}
14
+        translucent
14
         backgroundColor="transparent"
15
         backgroundColor="transparent"
15
       />
16
       />
16
       <View
17
       <View