Skip to content

Commit

Permalink
REMOVE images from play by play
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkuczma committed Mar 23, 2018
1 parent bbef3b6 commit 3cffffc
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions App/components/GameDetailScreen/PlayByPlay/PlayByPlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ class PlayByPlay extends Component<Props> {
const playerID = play.item.pid
let description = play.item.de
let timeString = ''
const logoToUse = description.includes(homeTeam)
? homeLogo : description.includes(awayTeam)
? awayLogo : ''
// const logoToUse = description.includes(homeTeam)
// ? homeLogo : description.includes(awayTeam)
// ? awayLogo : ''
const logoToUse = null
const gameScore = awayScore + '-' + homeScore

if (description !== 'Start Period' || description !== 'End Period') {
Expand Down Expand Up @@ -84,13 +85,16 @@ class PlayByPlay extends Component<Props> {
</View>
</View>
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Image
source={logoToUse}
style={{
height: 40,
width: 40
}}
/>
{
logoToUse &&
<Image
source={logoToUse}
style={{
height: 40,
width: 40
}}
/>
}
</View>
<View style={{ flex: 3, marginRight: 10 }}>
<Text style={styles.playByPlayText}>
Expand Down

0 comments on commit 3cffffc

Please sign in to comment.