Skip to content

Commit

Permalink
feat(ui)Update icon doesn't work for 'muted' attribute. (shaka-projec…
Browse files Browse the repository at this point in the history
…t#3307)

* Update icon doesn't work for 'muted' attribute.

* Fix comment

* Update PR
  • Loading branch information
Álvaro Velad Galván committed Apr 5, 2021
1 parent d4ea27a commit 80bdb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/mute_button.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ shaka.ui.MuteButton = class extends shaka.ui.Element {
this.button_ = shaka.util.Dom.createButton();
this.button_.classList.add('shaka-mute-button');
this.button_.classList.add('material-icons-round');
this.button_.textContent = shaka.ui.Enums.MaterialDesignIcons.MUTE;
this.parent.appendChild(this.button_);
this.updateAriaLabel_();
this.updateIcon_();

this.eventManager.listen(
this.localization, shaka.ui.Localization.LOCALE_UPDATED, () => {
Expand Down

0 comments on commit 80bdb5a

Please sign in to comment.