Don't display the bluetooth ToggleButton unless there is a valid
avrcp/a2dp connection.
Bug-AGL: SPEC-730
Change-Id: Ifd68fd1380bef5a471aafb7687c0cefe62b68e6f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Item { Layout.fillWidth: true }
ToggleButton {
- enabled: bluetooth.connected
+ visible: bluetooth.connected
checked: bluetooth.av_connected
offImage: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg'
onImage: './images/AGL_MediaPlayer_Bluetooth_Active.svg'