qs: fix bluetooth separator being visible with no devices

This commit is contained in:
outfoxxed 2025-07-24 23:32:40 -07:00
parent 7852cef60f
commit 1f01a009a9
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -1,3 +1,4 @@
pragma ComponentBehavior: Bound
import QtQuick import QtQuick
import QtQuick.Layouts import QtQuick.Layouts
import QtQuick.Controls import QtQuick.Controls
@ -101,7 +102,7 @@ ClickableIcon {
Rectangle { Rectangle {
width: parent.width width: parent.width
implicitHeight: 1 implicitHeight: 1
visible: linkTracker.linkGroups.length > 0 visible: root.adapter.devices.values.length > 0
color: ShellGlobals.colors.separator color: ShellGlobals.colors.separator
} }