From f82bf51ad64c44184d265b1d01fd37f746a53d69 Mon Sep 17 00:00:00 2001 From: molan-git <59296158+molan-git@users.noreply.github.com> Date: Fri, 8 May 2020 10:11:49 +0200 Subject: [PATCH 1/3] Text.RichText for lblContent Toots are now displayed with proper text style (paragraph spacing) --- qml/pages/components/VisualContainer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/pages/components/VisualContainer.qml b/qml/pages/components/VisualContainer.qml index a7bc245..072f816 100644 --- a/qml/pages/components/VisualContainer.qml +++ b/qml/pages/components/VisualContainer.qml @@ -145,7 +145,7 @@ BackgroundItem { text: content.replace(new RegExp(" Date: Fri, 8 May 2020 10:17:10 +0200 Subject: [PATCH 2/3] Text.RichText for lblContent Toots are now displayed with proper text style (paragraph spacing) --- qml/pages/components/Toot.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/pages/components/Toot.qml b/qml/pages/components/Toot.qml index 7809e7a..5999e40 100644 --- a/qml/pages/components/Toot.qml +++ b/qml/pages/components/Toot.qml @@ -170,7 +170,7 @@ BackgroundItem { } text: content - textFormat: Text.StyledText + textFormat: Text.RichText linkColor : Theme.highlightColor wrapMode: Text.Wrap maximumLineCount: 6 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 3/3] 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"