Skip to content

Commit e559b55

Browse files
committed
store the homescreen column style in a stylesheet
1 parent 499ab27 commit e559b55

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/views/home/home.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function HomePage({navigation, order, views = allViews}: Props) {
4040
<StatusBar barStyle="light-content" backgroundColor={c.gold} />
4141

4242
{columns.map((contents, i) =>
43-
<Column key={i} flex={1}>
43+
<Column key={i} style={styles.column}>
4444
{contents.map(view =>
4545
<HomeScreenButton
4646
key={view.view}
@@ -83,4 +83,7 @@ const styles = StyleSheet.create({
8383

8484
flexDirection: 'row',
8585
},
86+
column: {
87+
flex: 1,
88+
},
8689
})

0 commit comments

Comments
 (0)