Skip to content

Commit

Permalink
🐛 Fix missing player icon #467 (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Apr 12, 2021
1 parent ffc3dad commit 88821cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ class MiniMediaPlayer extends LitElement {
}

computeIcon() {
return this.config.icon ? this.player.icon : ICON.DEFAULT;
return this.config.icon
? this.config.icon : this.player.icon
|| ICON.DEFAULT;
}

measureCard() {
Expand Down

0 comments on commit 88821cd

Please sign in to comment.