File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 77 Image ,
88 useWindowDimensions ,
99 useColorScheme ,
10+ StatusBar ,
1011} from 'react-native'
1112import {
1213 SafeAreaProvider ,
@@ -170,12 +171,17 @@ function App() {
170171
171172 return (
172173 < >
174+ < StatusBar
175+ barStyle = "light-content"
176+ backgroundColor = { theme . colors . primary }
177+ translucent = { true }
178+ />
173179 < ScrollView
174180 style = { { backgroundColor : theme . colors . background } }
175181 contentContainerStyle = { [
176182 styles . contentContainer ,
177183 styles . paddingSixteen ,
178- { paddingTop : insets . top } ,
184+ { marginTop : insets . top } ,
179185 ] }
180186 >
181187 < View style = { isLarge && styles . surface } >
@@ -417,7 +423,7 @@ function App() {
417423 great apps, they also always work great on the web too!
418424 </ Text >
419425 </ View >
420- < View style = { [ styles . row , styles . gap , styles . marginVerticalEight ] } >
426+ < View style = { [ styles . gap , styles . marginVerticalSixteen ] } >
421427 < Button
422428 icon = "github"
423429 mode = "contained-tonal"
You can’t perform that action at this time.
0 commit comments