Skip to content

Commit

Permalink
Simplified boolean options
Browse files Browse the repository at this point in the history
As per @nukeop comments on previous commit
  • Loading branch information
trekiteasy committed Jan 31, 2019
1 parent 3a470c6 commit 711879d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 25 deletions.
7 changes: 2 additions & 5 deletions app/components/AlbumView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,8 @@ class AlbumView extends React.Component {
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
displayCover={false}
displayTrackNumber={true}
displayArtist={false}
displayDuration={true}
displayPlayCount={false}
displayTrackNumber
displayDuration
/>);
}
)}
Expand Down
6 changes: 2 additions & 4 deletions app/components/ArtistView/PopularTracks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,8 @@ class PopularTracks extends React.Component {
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
displayCover={true}
displayArtist={false}
displayDuration={false}
displayPlayCount={true}
displayCover
displayPlayCount
/>
);
})}
Expand Down
7 changes: 3 additions & 4 deletions app/components/Dashboard/ChartsTab/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ class ChartsTab extends React.Component {
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
displayCover={true}
displayArtist={true}
displayDuration={false}
displayPlayCount={true}
displayCover
displayArtist
displayPlayCount
/>;
})}
</tbody>
Expand Down
6 changes: 2 additions & 4 deletions app/components/PlaylistView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,8 @@ class PlaylistView extends React.Component {
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
displayCover={true}
displayArtist={true}
displayDuration={false}
displayPlayCount={false}
displayCover
displayArtist
/>
);
})
Expand Down
6 changes: 2 additions & 4 deletions app/components/SearchResults/TracksResults/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ class TracksResults extends React.Component {
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
displayArtist={true}
displayDuration={false}
displayPlayCount={false}
displayCover={true}
displayArtist
displayCover
/>;
}
})}
Expand Down
7 changes: 3 additions & 4 deletions app/components/TagView/TagTopTracks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,9 @@ class TagTopTracks extends React.Component {
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
displayCover={true}
displayArtist={true}
displayDuration={true}
displayPlayCount={false}
displayCover
displayArtist
displayDuration
/>;
})}
</tbody>
Expand Down

0 comments on commit 711879d

Please sign in to comment.