Skip to content

Commit

Permalink
Fix for cover image to stop showing when episode finished playing.
Browse files Browse the repository at this point in the history
TODO:Needs to be done nicer
  • Loading branch information
E.S. Rosenberg a.k.a. Keeper of the Keys committed Dec 10, 2019
1 parent b9327be commit 17ed41e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qml/CoverContainer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import QtQuick 2.0
import Sailfish.Silica 1.0
import QtMultimedia 5.0

import 'common/util.js' as Util

Expand All @@ -39,7 +40,7 @@ CoverBackground {

PlayerCover {
id: playerCover
visible: player.episode != 0
visible: player.episode != 0 && (player.isPlaying || player.playbackState == MediaPlayer.PausedState)
}

CoverActionList {
Expand Down

0 comments on commit 17ed41e

Please sign in to comment.