commit
b02063834c
3 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -170,7 +170,7 @@ BackgroundItem {
|
|||
|
||||
}
|
||||
text: content
|
||||
textFormat: Text.StyledText
|
||||
textFormat: Text.RichText
|
||||
linkColor : Theme.highlightColor
|
||||
wrapMode: Text.Wrap
|
||||
maximumLineCount: 6
|
||||
|
|
|
@ -145,7 +145,7 @@ BackgroundItem {
|
|||
text: content.replace(new RegExp("<a ", 'g'), '<a style="text-decoration: none; color:'+(pressed ? Theme.secondaryColor : Theme.highlightColor)+'" ')
|
||||
linkColor : Theme.highlightColor
|
||||
wrapMode: Text.WordWrap
|
||||
textFormat: Text.StyledText
|
||||
textFormat: Text.RichText
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: (pressed ? Theme.highlightColor : (!highlight ? Theme.primaryColor : Theme.secondaryColor))
|
||||
Rectangle {
|
||||
|
|
Loading…
Reference in a new issue