Skip to content

Commit 76d7373

Browse files
committed
fix: disabled videos continue playing after pause/play event
refs: #129
1 parent 490953f commit 76d7373

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/contents/ui/main.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ WallpaperItem {
7676
return play;
7777
}
7878
property bool playing: {
79-
return (shouldPlay && !batteryPausesVideo && !screenLocked && !screenIsOff && !effectPauseVideo) || effectPlayVideo;
79+
return ((shouldPlay && !batteryPausesVideo && !screenLocked && !screenIsOff && !effectPauseVideo) || effectPlayVideo) && videosConfig.length !== 0;
8080
}
8181
property bool shouldBlur: {
8282
if (videosConfig.length == 0) {

0 commit comments

Comments
 (0)