File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export const DemoApp: React.FC<{
5959 backgroundColor : Colors . background ,
6060 justifyContent : 'center' ,
6161 } } >
62- < ScrollView contentContainerStyle = { styles . scrollViewContent } >
62+ < ScrollView >
6363 < VStack >
6464 < Image source = { TalsecLogo } style = { { alignSelf : 'center' } } /> ;
6565 { Platform . OS === 'android' && (
@@ -161,11 +161,6 @@ export const DemoApp: React.FC<{
161161} ;
162162
163163const styles = StyleSheet . create ( {
164- scrollViewContent : {
165- flexGrow : 1 ,
166- paddingVertical : 20 ,
167- alignItems : 'center' , // Centers content inside ScrollView
168- } ,
169164 button : {
170165 justifyContent : 'center' ,
171166 alignItems : 'center' ,
@@ -177,13 +172,9 @@ const styles = StyleSheet.create({
177172 marginTop : 20 ,
178173 } ,
179174 blockedButton : {
180- backgroundColor : Colors . checkOkLight , // When blocked
175+ backgroundColor : Colors . checkOkLight ,
181176 } ,
182177 unblockedButton : {
183- backgroundColor : Colors . checkNokLight , // When not blocked
184- } ,
185- vStack : {
186- width : '90%' , // Ensures items stay within proper width
187- alignItems : 'center' ,
178+ backgroundColor : Colors . checkNokLight ,
188179 } ,
189180} ) ;
You can’t perform that action at this time.
0 commit comments