Parcourir la source

Use translucent status bar in example

Janic Duplessis il y a 5 ans
Parent
révision
cc351f14e7
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      example/App.tsx

+ 2
- 1
example/App.tsx Voir le fichier

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