From c4820adaf2ca38ef8052368cacd420b32f7c1236 Mon Sep 17 00:00:00 2001 From: molan-git <59296158+molan-git@users.noreply.github.com> Date: Mon, 11 May 2020 09:05:45 +0200 Subject: [PATCH] Fix playerIcons Show pause button when playingState Show play button when pausingState --- qml/pages/components/ImageFullScreen.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qml/pages/components/ImageFullScreen.qml b/qml/pages/components/ImageFullScreen.qml index 37b9eaa..dba23a8 100644 --- a/qml/pages/components/ImageFullScreen.qml +++ b/qml/pages/components/ImageFullScreen.qml @@ -57,10 +57,10 @@ Page { console.log(playbackState) switch (playbackState){ case MediaPlayer.PlayingState: - playerIcon.icon.source = "image://theme/icon-m-play" + playerIcon.icon.source = "image://theme/icon-m-pause" return; case MediaPlayer.PausedState: - playerIcon.icon.source = "image://theme/icon-m-pause" + playerIcon.icon.source = "image://theme/icon-m-play" return; case MediaPlayer.StoppedState: playerIcon.icon.source = "image://theme/icon-m-stop"