summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/MediaPlayer.qml2
-rw-r--r--app/api/BluetoothManager.qml2
2 files changed, 1 insertions, 3 deletions
diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml
index 482b30d..77538a6 100644
--- a/app/MediaPlayer.qml
+++ b/app/MediaPlayer.qml
@@ -78,7 +78,7 @@ ApplicationWindow {
height: sourceSize.height * width / sourceSize.width
fillMode: Image.PreserveAspectCrop
source: player.metaData.coverArtImage ? player.metaData.coverArtImage : ''
- visible: bluetooth.connected == false
+ visible: bluetooth.av_connected == false
}
Item {
diff --git a/app/api/BluetoothManager.qml b/app/api/BluetoothManager.qml
index bb273a5..514a395 100644
--- a/app/api/BluetoothManager.qml
+++ b/app/api/BluetoothManager.qml
@@ -85,7 +85,6 @@ WebSocket {
root.deviceAddress = address
if (!address) {
root.connected = false
- playlistview.visible = true
}
}
break
@@ -173,7 +172,6 @@ WebSocket {
function connect_profiles() {
sendSocketMessage("connect", { "value": root.deviceAddress, "uuid": a2dp_uuid })
sendSocketMessage("connect", { "value": root.deviceAddress, "uuid": avrcp_uuid })
- root.av_connected = true
}
function disconnect_profiles() {