Fixed: UI Fixes

This commit is contained in:
Qstick 2018-03-15 22:26:49 -04:00
parent 718e8d7a9e
commit 94cca69e92
17 changed files with 287 additions and 261 deletions

View file

@ -71,7 +71,6 @@ class AddNewArtistSearchResult extends Component {
artistType,
status,
overview,
albumCount,
ratings,
images,
isExistingArtist,
@ -83,11 +82,6 @@ class AddNewArtistSearchResult extends Component {
} = this.state;
const linkProps = isExistingArtist ? { to: `/artist/${foreignArtistId}` } : { onPress: this.onPress };
let albums = '1 Album';
if (albumCount > 1) {
albums = `${albumCount} Albums`;
}
const height = calculateHeight(230, isSmallScreen);
@ -146,13 +140,6 @@ class AddNewArtistSearchResult extends Component {
</Label>
}
{
!!albumCount &&
<Label size={sizes.LARGE}>
{albums}
</Label>
}
{
status === 'ended' &&
<Label
@ -201,7 +188,6 @@ AddNewArtistSearchResult.propTypes = {
artistType: PropTypes.string,
status: PropTypes.string.isRequired,
overview: PropTypes.string,
albumCount: PropTypes.number,
ratings: PropTypes.object.isRequired,
images: PropTypes.arrayOf(PropTypes.object).isRequired,
isExistingArtist: PropTypes.bool.isRequired,