summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-07-05 22:31:11 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-07-05 22:31:26 -0700
commitba403bb3f5c8ce49b1db5ddc51717a2fe957bafd (patch)
tree2cd54bd3581b620bf3d27be9e5acf92f2198613a
parent0f9e9e41961a896ad2dc2bb05fcd7f5d9ee9e26b (diff)
qml: bluetooth: don't display icon unless connection
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>
-rw-r--r--app/MediaPlayer.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index d37e097..482b30d 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -225,7 +225,7 @@ ApplicationWindow {
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'