From 0d5aa4d8872e3b42b0fb8bbc4db38bd8cedeeeca Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 2 Feb 2026 14:04:53 +0100 Subject: [PATCH] Hide USB text once connected --- dashboard/qml/Main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/qml/Main.qml b/dashboard/qml/Main.qml index 8dfa963d..e28ab036 100644 --- a/dashboard/qml/Main.qml +++ b/dashboard/qml/Main.qml @@ -363,14 +363,14 @@ Kirigami.ApplicationWindow { Controls.Label { Kirigami.FormData.label: i18nc("label for USB status or connect button", "USB") - visible: !Adb.adbInstalled + visible: !Adb.adbInstalled && !WivrnServer.headsetConnected enabled: root.server_started text: i18n("ADB is not installed") } Controls.Label { Kirigami.FormData.label: i18nc("label for USB status or connect button", "USB") - visible: Adb.adbInstalled && select_usb_device.connected_headset_count == 0 + visible: Adb.adbInstalled && select_usb_device.connected_headset_count == 0 && !WivrnServer.headsetConnected enabled: root.server_started text: i18n("No headset is connected or your headset is not in developer mode"); Layout.fillWidth: true