Displays all the text for Home Elements;

Shortens margin btw Home Elements;
Adds missing "visit" to text
This commit is contained in:
emelko
2019-05-28 09:38:34 +02:00
parent 406b71250e
commit 09bbfe8a7d
2 changed files with 5 additions and 7 deletions
+4 -6
View File
@@ -38,7 +38,7 @@ const HomeElement = ({ children, onPress, buttonColor, buttonLabel }) => {
</View>
<View style={{paddingLeft: 15}}>
{children[2]}
{children.slice(2)}
<Button
style={styles.homeButton}
onPress={ onPress }
@@ -137,11 +137,9 @@ export default class Home extends Component {
{`${labels.phase(phase)} (${status})`}
</AppText>
}
<View>
<AppText styles={styles.homeDescriptionText}>
{ `${statusText} ${links.wiki.url}.` }
</AppText>
</View>
<AppText style={styles.homeDescriptionText}>
{ `${statusText} Visit ${links.wiki.url}.` }
</AppText>
</HomeElement>
</View>
</ScrollView>