From 89464c16ff6e5c76533284cda3c13846b169d4b0 Mon Sep 17 00:00:00 2001 From: c727 Date: Mon, 22 Jan 2018 04:50:12 +0100 Subject: [PATCH] Fix play/pause icon (#825) * Fix play/pause icon * Fix hidden --- src/more-infos/more-info-media_player.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/more-infos/more-info-media_player.html b/src/more-infos/more-info-media_player.html index 007ae23930..419d9039ad 100644 --- a/src/more-infos/more-info-media_player.html +++ b/src/more-infos/more-info-media_player.html @@ -65,9 +65,9 @@ @@ -295,8 +295,8 @@ return !isOff && hasMedia; } - computePlaybackControlIcon() { - if (this.isPlaying) { + computePlaybackControlIcon(isPlaying) { + if (isPlaying) { return this.supportsPause ? 'mdi:pause' : 'mdi:stop'; } return this.supportsPlay ? 'mdi:play' : null;