Browse Source

Use translucent status bar in example

Janic Duplessis 4 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,11 +6,12 @@ import { SafeAreaProvider, useSafeArea } from '../src';
6 6
 
7 7
 const Screen = () => {
8 8
   const insets = useSafeArea();
9
+
9 10
   return (
10 11
     <>
11 12
       <StatusBar
12 13
         barStyle="dark-content"
13
-        translucent={false}
14
+        translucent
14 15
         backgroundColor="transparent"
15 16
       />
16 17
       <View