Skip to content

Commit

Permalink
fix icons
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr committed Oct 28, 2021
1 parent 63c73b5 commit 9e56300
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/mediaControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class MiniMediaPlayerMediaControls extends LitElement {
@click=${e => this.player.toggleShuffle(e)}
.icon=${ICON.SHUFFLE}
?color=${this.player.shuffle}>
<ha-icon .icon=${ICON.SHUFFLE}></ha-icon>
</ha-icon-button>
</div>
` : html``;
Expand All @@ -89,6 +90,7 @@ class MiniMediaPlayerMediaControls extends LitElement {
@click=${e => this.player.toggleRepeat(e)}
.icon=${ICON.REPEAT[this.player.repeat]}
?color=${colored}>
<ha-icon .icon=${ICON.REPEAT[this.player.repeat]}></ha-icon>
</ha-icon-button>
</div>
`;
Expand Down Expand Up @@ -226,6 +228,7 @@ class MiniMediaPlayerMediaControls extends LitElement {
<ha-icon-button
@click=${e => this.player.jump(e, this.jumpAmount)}
.icon=${ICON.FAST_FORWARD}>
<ha-icon .icon=${ICON.FAST_FORWARD}></ha-icon>
</ha-icon-button>
`;
}
Expand All @@ -237,6 +240,7 @@ class MiniMediaPlayerMediaControls extends LitElement {
<ha-icon-button
@click=${e => this.player.jump(e, -this.jumpAmount)}
.icon=${ICON.REWIND}>
<ha-icon .icon=${ICON.REWIND}></ha-icon>
</ha-icon-button>
`;
}
Expand Down

0 comments on commit 9e56300

Please sign in to comment.