fix: undef warning
This commit is contained in:
parent
15498f8786
commit
b6b3514852
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ Item {
|
||||||
anchors.margins: Tokens.spacing.small
|
anchors.margins: Tokens.spacing.small
|
||||||
|
|
||||||
icon: Players.active?.isPlaying ? "pause" : "play_arrow"
|
icon: Players.active?.isPlaying ? "pause" : "play_arrow"
|
||||||
checked: Players.active?.isPlaying
|
checked: Players.active?.isPlaying ?? false
|
||||||
disabled: !Players.active?.canTogglePlaying
|
disabled: !Players.active?.canTogglePlaying
|
||||||
onClicked: Players.active?.togglePlaying()
|
onClicked: Players.active?.togglePlaying()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue