Skip to content

Commit

Permalink
Merge pull request #321 from SoyDiego/fixed-structure-styles
Browse files Browse the repository at this point in the history
Fixed small styles things App
  • Loading branch information
iM-GeeKy authored Sep 2, 2023
2 parents 09d684a + f086daf commit e4cba0b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Image,
useWindowDimensions,
useColorScheme,
StatusBar,
} from 'react-native'
import {
SafeAreaProvider,
Expand Down Expand Up @@ -170,12 +171,17 @@ function App() {

return (
<>
<StatusBar
barStyle="light-content"
backgroundColor={theme.colors.primary}
translucent={true}
/>
<ScrollView
style={{ backgroundColor: theme.colors.background }}
contentContainerStyle={[
styles.contentContainer,
styles.paddingSixteen,
{ paddingTop: insets.top },
{ marginTop: insets.top },
]}
>
<View style={isLarge && styles.surface}>
Expand Down Expand Up @@ -417,7 +423,7 @@ function App() {
great apps, they also always work great on the web too!
</Text>
</View>
<View style={[styles.row, styles.gap, styles.marginVerticalEight]}>
<View style={[styles.gap, styles.marginVerticalSixteen]}>
<Button
icon="github"
mode="contained-tonal"
Expand Down

0 comments on commit e4cba0b

Please sign in to comment.