Commit c28b2eda by jhrabal

radegast

parent 795cf8b4
......@@ -105,7 +105,7 @@ class App extends React.PureComponent {
buttons.push(
<TouchableOpacity key={ i } onPress={ this.onPress(i) }>
<View style={styles.rating}>
<Text style={styles.ratingNumber}>{ i }</Text>
<View style={styles.ratingNumber}><Text>{ i }</Text></View>
{ showInfo && lastRating && i <= lastRating ? <Image source={ require('./assets/siska.png') } style={ styles.ratingImage } /> : null }
</View>
</TouchableOpacity>
......@@ -179,7 +179,10 @@ const styles = EStyleSheet.create({
borderRadius: '1rem',
width: '2rem',
height: '2rem',
textAlign: 'center'
textAlign: 'center',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
},
ratingImage: {
......@@ -190,5 +193,4 @@ const styles = EStyleSheet.create({
}
});
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment