Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
* Replace spotify icon with music for "now playing" listens
  • Loading branch information
paramsingh committed Mar 19, 2019
2 parents 0a07036 + aff3490 commit 6d34b8f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions listenbrainz/webserver/static/js/jsx/profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import * as timeago from 'time-ago';

import { faListUl, faMusic } from '@fortawesome/free-solid-svg-icons'
import {getArtistLink, getPlayButton, getSpotifyEmbedUriFromListen, getTrackLink} from './utils.jsx';

import APIService from './api-service';
Expand All @@ -12,8 +13,6 @@ import React from 'react';
import ReactDOM from 'react-dom';
import {SpotifyPlayer} from './spotify-player.jsx';
import {isEqual as _isEqual} from 'lodash';
import { faListUl } from '@fortawesome/free-solid-svg-icons'
import { faSpotify } from '@fortawesome/free-brands-svg-icons'
import io from 'socket.io-client';

class RecentListens extends React.Component {
Expand Down Expand Up @@ -308,7 +307,7 @@ class RecentListens extends React.Component {
<td>{getTrackLink(listen)}</td>
<td>{getArtistLink(listen)}</td>
{listen.playing_now ?
<td><FontAwesomeIcon icon={faSpotify}/> Playing now</td>
<td><FontAwesomeIcon icon={faMusic}/> Playing now</td>
:
<td>
<abbr title={listen.listened_at_iso}>
Expand Down

0 comments on commit 6d34b8f

Please sign in to comment.