Skip to content

Commit

Permalink
Added doctor number to modal.
Browse files Browse the repository at this point in the history
  • Loading branch information
caroaguilar committed Feb 24, 2017
1 parent eff7750 commit a50676b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/Doctor.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class Doctor extends Component {
</TouchableOpacity>
</View>
<View>
<Text style={styles.header}>{`#${doctor.doctorNumber}`}</Text>
<Text style={styles.text}>{doctor.description}</Text>
<Text style={styles.title}>{'Who Played Him:'}</Text>
<Text style={styles.text}>{doctor.actor}</Text>
<Text style={styles.title}>{'When:'}</Text>
Expand All @@ -30,7 +32,6 @@ class Doctor extends Component {
<Text style={styles.text}>{doctor.regeneration}</Text>
<Text style={styles.title}>{'Three Recommended Stories:'}</Text>
<Text style={styles.text}>{doctor.stories}</Text>
<Text style={styles.text}>{doctor.description}</Text>
</View>
</ScrollView>
)
Expand Down
6 changes: 6 additions & 0 deletions app/components/styles/doctor.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ export default StyleSheet.create({
fontSize: 18,
fontWeight: 'bold'
},
header: {
color: Colors.text.highlight.dark,
fontFamily: 'FiraSans-Bold',
fontSize: 50,
fontWeight: 'bold'
},
modal: {
backgroundColor: Colors.background.primary,
flex: 1,
Expand Down

0 comments on commit a50676b

Please sign in to comment.