Skip to content
Snippets Groups Projects
Commit 592f2b3e authored by bl00dymarie's avatar bl00dymarie
Browse files

Merge branch '386-bug-fertility-text-is-missing-on-homescreen' into 'master'

Make sure fertility text is displayed on home screen

Closes #386

See merge request bloodyhealth/drip!228
parents 7506e911 09bbfe8a
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ const HomeElement = ({ children, onPress, buttonColor, buttonLabel }) => { ...@@ -38,7 +38,7 @@ const HomeElement = ({ children, onPress, buttonColor, buttonLabel }) => {
</View> </View>
<View style={{paddingLeft: 15}}> <View style={{paddingLeft: 15}}>
{children[2]} {children.slice(2)}
<Button <Button
style={styles.homeButton} style={styles.homeButton}
onPress={ onPress } onPress={ onPress }
...@@ -137,11 +137,9 @@ export default class Home extends Component { ...@@ -137,11 +137,9 @@ export default class Home extends Component {
{`${labels.phase(phase)} (${status})`} {`${labels.phase(phase)} (${status})`}
</AppText> </AppText>
} }
<View> <AppText style={styles.homeDescriptionText}>
<AppText styles={styles.homeDescriptionText}> { `${statusText} Visit ${links.wiki.url}.` }
{ `${statusText} ${links.wiki.url}.` } </AppText>
</AppText>
</View>
</HomeElement> </HomeElement>
</View> </View>
</ScrollView> </ScrollView>
......
...@@ -123,7 +123,7 @@ export default StyleSheet.create({ ...@@ -123,7 +123,7 @@ export default StyleSheet.create({
marginBottom: defaultBottomMargin, marginBottom: defaultBottomMargin,
}, },
homeElement: { homeElement: {
marginBottom: 40, marginBottom: 30,
flexDirection: 'row', flexDirection: 'row',
}, },
homeIconTextWrapper: { homeIconTextWrapper: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment