Browse Source

Use translucent status bar in example

Janic Duplessis 5 years ago
parent
commit
cc351f14e7
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      example/App.tsx

+ 2
- 1
example/App.tsx View File

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