summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-06-13 12:45:44 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-06-15 00:08:29 +0000
commit52918332b8e7860e63ec59774bcce2d5ecabb53b (patch)
treea18a97758d2f6a95720bd60df73808b1cf60b938 /app
parentdc657beb055b28cec94f92ce631921ecf83e3935 (diff)
mediaplayer: initial BT connection icon
Before bluetooth connection can be selected with the BT binding we need an initial state icon. Change-Id: I1ff7a764a15eb06f8bd8e2cd84123d708b46cc7e Bug-AGL: SPEC-637 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app')
-rw-r--r--app/MediaPlayer.qml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index 71bda77..fbd889c 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -273,12 +273,13 @@ ApplicationWindow {
}
Item { Layout.fillWidth: true }
-// Image {
-// source: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg'
-// }
-// Image {
-// source: './images/AGL_MediaPlayer_Radio_Inactive.svg'
-// }
+
+ ToggleButton {
+ enabled: false
+ checked: bluetooth.connected
+ offImage: './images/AGL_MediaPlayer_Bluetooth_Inactive.svg'
+ onImage: './images/AGL_MediaPlayer_Bluetooth_Active.svg'
+ }
}
}
}