diff --git a/modules/nexus/common/AudioDeviceList.qml b/modules/nexus/common/AudioDeviceList.qml index 74180b54..8aacb579 100644 --- a/modules/nexus/common/AudioDeviceList.qml +++ b/modules/nexus/common/AudioDeviceList.qml @@ -38,8 +38,8 @@ ItemList { StateLayer { radius: Tokens.rounding.extraSmall - bottomLeftRadius: device.index === root.list.count - 1 ? Tokens.rounding.extraLarge : radius - bottomRightRadius: device.index === root.list.count - 1 ? Tokens.rounding.extraLarge : radius + bottomLeftRadius: device.index === root?.list.count - 1 ? Tokens.rounding.extraLarge : radius + bottomRightRadius: device.index === root?.list.count - 1 ? Tokens.rounding.extraLarge : radius onClicked: root.selected(device.modelData) } diff --git a/modules/nexus/pages/bluetooth/BluetoothPairing.qml b/modules/nexus/pages/bluetooth/BluetoothPairing.qml index f6e308ff..548bff1a 100644 --- a/modules/nexus/pages/bluetooth/BluetoothPairing.qml +++ b/modules/nexus/pages/bluetooth/BluetoothPairing.qml @@ -106,8 +106,8 @@ PageBase { StateLayer { radius: Tokens.rounding.extraSmall - bottomLeftRadius: newDevice.index === deviceList.list.count - 1 ? Tokens.rounding.extraLarge : radius - bottomRightRadius: newDevice.index === deviceList.list.count - 1 ? Tokens.rounding.extraLarge : radius + bottomLeftRadius: newDevice.index === deviceList?.list.count - 1 ? Tokens.rounding.extraLarge : radius + bottomRightRadius: newDevice.index === deviceList?.list.count - 1 ? Tokens.rounding.extraLarge : radius disabled: newDevice.modelData?.pairing ?? false onClicked: {